fix: demo using custom controls for YouTube

This commit is contained in:
Sam Potts
2020-10-19 23:10:00 +11:00
parent 45f7e20233
commit 5c02205a4f

View File

@ -59,7 +59,6 @@ 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: {
@ -67,6 +66,9 @@ import toggleClass from './toggle-class';
// Prevent Vimeo blocking plyr.io demo site
referrerPolicy: 'no-referrer',
},
youtube: {
customControls: true,
},
});
// Expose for tinkering in the console