aboutsummaryrefslogtreecommitdiffstats
path: root/demo/src
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2020-10-19 22:26:33 +1100
committerSam Potts <sam@potts.es>2020-10-19 22:26:33 +1100
commit776b0c40367e7a184eb7db2673c246048cb5fcb8 (patch)
tree5baff2f7eeb3a2594a3ab16c48410169c63feedb /demo/src
parentfa653a8859a4191d30d90f0b560bbb4c5c3b83ac (diff)
downloadplyr-776b0c40367e7a184eb7db2673c246048cb5fcb8.tar.lz
plyr-776b0c40367e7a184eb7db2673c246048cb5fcb8.tar.xz
plyr-776b0c40367e7a184eb7db2673c246048cb5fcb8.zip
feat: custom controls option for embedded players
Diffstat (limited to 'demo/src')
-rw-r--r--demo/src/js/demo.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/demo/src/js/demo.js b/demo/src/js/demo.js
index 1101fd97..8bc7ebe7 100644
--- a/demo/src/js/demo.js
+++ b/demo/src/js/demo.js
@@ -59,9 +59,11 @@ 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: {
+ customControls: true,
// Prevent Vimeo blocking plyr.io demo site
referrerPolicy: 'no-referrer',
},