diff options
author | Sam Potts <sam@potts.es> | 2020-04-24 01:15:54 +1000 |
---|---|---|
committer | Sam Potts <sam@potts.es> | 2020-04-24 01:15:54 +1000 |
commit | 4915cf0120870db4a52b3be117efa22f8ca2bd3e (patch) | |
tree | 6a2bf12ecfa2314725e6d8961ec9f6a986b5003b /demo/src | |
parent | 66c57806166e3f760b7c13d02d0025f929dcd2d9 (diff) | |
download | plyr-4915cf0120870db4a52b3be117efa22f8ca2bd3e.tar.lz plyr-4915cf0120870db4a52b3be117efa22f8ca2bd3e.tar.xz plyr-4915cf0120870db4a52b3be117efa22f8ca2bd3e.zip |
Use new feature to set thumbnails on source change in the demo
Diffstat (limited to 'demo/src')
-rw-r--r-- | demo/src/js/sources.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/demo/src/js/sources.js b/demo/src/js/sources.js index 6cec59c9..e21885af 100644 --- a/demo/src/js/sources.js +++ b/demo/src/js/sources.js @@ -40,6 +40,9 @@ const sources = { src: 'https://cdn.plyr.io/static/demo/View_From_A_Blue_Moon_Trailer-HD.fr.vtt', }, ], + previewThumbnails: { + src: ['https://cdn.plyr.io/static/demo/thumbs/100p.vtt', 'https://cdn.plyr.io/static/demo/thumbs/240p.vtt'], + }, }, audio: { type: 'audio', |