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
@@ -52,6 +52,7 @@ See the demo - [example](https://tomik23.github.io/lazy-youtube/)
52
52
-**"local": true** - parameter that tells the library that the movie should play in the same div as the thumbnail, not in the lightbox
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
+
-**"title"** - the title of the video, it is displayed top of container`
55
56
56
57
```html
57
58
<!-- default -->
@@ -65,6 +66,9 @@ See the demo - [example](https://tomik23.github.io/lazy-youtube/)
0 commit comments