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
@@ -53,6 +53,7 @@ See the demo - [example](https://tomik23.github.io/lazy-youtube/)
53
53
-**"maxWidth": 50** - the video opens to the given width, it is a percentage, in this example 50%, if there is no number then the video opens to the whole window - 100%. You can also set a global `maxWidth` for all videos that open in the lightbox. Just add the same `maxWidth: 80` parameter to option, see the example below
54
54
-**"openIn"** - this parameter allows you to display a button which, when clicked, directly opens the youtube page with the movie. For full functionality you need the corresponding parameter also added to js, see below `createWatchIn: () => {}`
55
55
-**"title"** - the title of the video, it is displayed top of container`
56
+
-**"picture"** - the parameter is responsible for generating a thumbnail. `TRUE` - generates picture + source + img. `FALSE` - only generate an img thumbnail
56
57
57
58
```html
58
59
<!-- default -->
@@ -69,6 +70,9 @@ See the demo - [example](https://tomik23.github.io/lazy-youtube/)
69
70
70
71
<!-- add title -->
71
72
<divclass="ytLazy__item"data-yt='{ "id": "XHeDps0fX6c", "title": "Movie title ;)" }'></div>
0 commit comments