diff options
author | Sam Potts <sam@potts.es> | 2020-10-19 22:26:33 +1100 |
---|---|---|
committer | Sam Potts <sam@potts.es> | 2020-10-19 22:26:33 +1100 |
commit | 776b0c40367e7a184eb7db2673c246048cb5fcb8 (patch) | |
tree | 5baff2f7eeb3a2594a3ab16c48410169c63feedb /demo/src | |
parent | fa653a8859a4191d30d90f0b560bbb4c5c3b83ac (diff) | |
download | plyr-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.js | 2 |
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', }, |