You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,15 @@ npm i astro-lazy-youtube-embed
12
12
13
13
Use `embedParams` to pass [YouTube IFrame Player API parameters](https://developers.google.com/youtube/player_parameters#Parameters) for the embed, e.g. to set start & stop times to play a particular section when clicked.
14
14
15
+
Default `embedParams` are:
16
+
17
+
```js
18
+
{
19
+
// automatically start to play when the player loads
20
+
autoplay:1,
21
+
}
22
+
```
23
+
15
24
Use `thumbnailRes` to control the resolution of the thumbnail used for the placeholder.
0 commit comments