Skip to content

Commit 3b99ee4

Browse files
committed
Release v0.3.1
Fixed types to allow additional iframe attributes to be passed, such as loading="lazy" Closes #3
1 parent 8195768 commit 3b99ee4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

YouTube.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
interface Props extends astroHTML.JSX.HTMLAttributes {
2+
interface Props extends astroHTML.JSX.IframeHTMLAttributes {
33
embedParams?: EmbedParams
44
thumbnailRes?: ThumbnailRes
55
title: string

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "astro-lazy-youtube-embed",
3-
"version": "0.3.0",
3+
"version": "0.3.1",
44
"description": "Embed YouTube videos with a static placeholder which only embeds when you click",
55
"type": "module",
66
"license": "MIT",

0 commit comments

Comments
 (0)