Skip to content

Commit b667d48

Browse files
committed
Release v0.5.0
- Added the "Watch on YouTube" link to the embed - To omit the link, pass a `noLink` param - Added support for custom thumbnails - Pass a URL as the `thumbnail` param
1 parent d3470cf commit b667d48

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
@@ -18,7 +18,7 @@ interface Props extends Omit<astroHTML.JSX.IframeHTMLAttributes, 'src' | 'srcdoc
1818
*/
1919
loading?: 'eager' | 'lazy'
2020
/**
21-
* Pass `true` to omit the "Watch on YouTube" link - saves ~3.86 KB.
21+
* Pass `true` to omit the "Watch on YouTube" link - saves ~3.86 KB
2222
*/
2323
noLink?: boolean
2424
/**

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.4.0",
3+
"version": "0.5.0",
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)