Skip to content

Commit

Permalink
Release v0.3.1
Browse files Browse the repository at this point in the history
Fixed types to allow additional iframe attributes to be passed, such as loading="lazy"

Closes #3
  • Loading branch information
insin committed Feb 25, 2024
1 parent 8195768 commit 3b99ee4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion YouTube.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
interface Props extends astroHTML.JSX.HTMLAttributes {
interface Props extends astroHTML.JSX.IframeHTMLAttributes {
embedParams?: EmbedParams
thumbnailRes?: ThumbnailRes
title: string
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "astro-lazy-youtube-embed",
"version": "0.3.0",
"version": "0.3.1",
"description": "Embed YouTube videos with a static placeholder which only embeds when you click",
"type": "module",
"license": "MIT",
Expand Down

0 comments on commit 3b99ee4

Please sign in to comment.