Use new feature to set thumbnails on source change in the demo
This commit is contained in:
parent
66c5780616
commit
4915cf0120
5
demo/dist/demo.js
vendored
5
demo/dist/demo.js
vendored
@ -29440,7 +29440,10 @@ typeof navigator === "object" && (function () {
|
|||||||
label: 'French',
|
label: 'French',
|
||||||
srclang: 'fr',
|
srclang: 'fr',
|
||||||
src: 'https://cdn.plyr.io/static/demo/View_From_A_Blue_Moon_Trailer-HD.fr.vtt'
|
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: {
|
audio: {
|
||||||
type: 'audio',
|
type: 'audio',
|
||||||
|
2
demo/dist/demo.min.js
vendored
2
demo/dist/demo.min.js
vendored
File diff suppressed because one or more lines are too long
2
demo/dist/demo.min.js.map
vendored
2
demo/dist/demo.min.js.map
vendored
File diff suppressed because one or more lines are too long
@ -40,6 +40,9 @@ const sources = {
|
|||||||
src: 'https://cdn.plyr.io/static/demo/View_From_A_Blue_Moon_Trailer-HD.fr.vtt',
|
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: {
|
audio: {
|
||||||
type: 'audio',
|
type: 'audio',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user