Use new feature to set thumbnails on source change in the demo

This commit is contained in:
Sam Potts
2020-04-24 01:15:54 +10:00
parent 66c5780616
commit 4915cf0120
4 changed files with 9 additions and 3 deletions

View File

@ -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',