diff options
Diffstat (limited to 'demo/src/js')
-rw-r--r-- | demo/src/js/demo.js | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/demo/src/js/demo.js b/demo/src/js/demo.js index df5f6947..add123e5 100644 --- a/demo/src/js/demo.js +++ b/demo/src/js/demo.js @@ -5,6 +5,7 @@ // ========================================================================== import Raven from 'raven-js'; +import Plyr from '../../../src/js/plyr'; (() => { const { host } = window.location; @@ -61,7 +62,7 @@ import Raven from 'raven-js'; const player = new Plyr(selector, { debug: true, title: 'View From A Blue Moon', - iconUrl: '../dist/plyr.svg', + iconUrl: 'dist/plyr.svg', keyboard: { global: true, }, @@ -78,6 +79,13 @@ import Raven from 'raven-js'; enabled: env.prod || env.dev, publisherId: '918848828995742', }, + previewThumbnails: { + enabled: true, + src: [ + 'https://cdn.plyr.io/static/demo/thumbs/100p.vtt', + 'https://cdn.plyr.io/static/demo/thumbs/240p.vtt', + ], + }, }); // Expose for tinkering in the console |