aboutsummaryrefslogtreecommitdiffstats
path: root/demo/src/js/demo.js
diff options
context:
space:
mode:
Diffstat (limited to 'demo/src/js/demo.js')
-rw-r--r--demo/src/js/demo.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/demo/src/js/demo.js b/demo/src/js/demo.js
index 8bc7ebe7..94ad1de7 100644
--- a/demo/src/js/demo.js
+++ b/demo/src/js/demo.js
@@ -59,7 +59,6 @@ import toggleClass from './toggle-class';
},
previewThumbnails: {
enabled: true,
- customControls: true,
src: ['https://cdn.plyr.io/static/demo/thumbs/100p.vtt', 'https://cdn.plyr.io/static/demo/thumbs/240p.vtt'],
},
vimeo: {
@@ -67,6 +66,9 @@ import toggleClass from './toggle-class';
// Prevent Vimeo blocking plyr.io demo site
referrerPolicy: 'no-referrer',
},
+ youtube: {
+ customControls: true,
+ },
});
// Expose for tinkering in the console