fix: demo using custom controls for YouTube
This commit is contained in:
@ -59,7 +59,6 @@ import toggleClass from './toggle-class';
|
|||||||
},
|
},
|
||||||
previewThumbnails: {
|
previewThumbnails: {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
customControls: true,
|
|
||||||
src: ['https://cdn.plyr.io/static/demo/thumbs/100p.vtt', 'https://cdn.plyr.io/static/demo/thumbs/240p.vtt'],
|
src: ['https://cdn.plyr.io/static/demo/thumbs/100p.vtt', 'https://cdn.plyr.io/static/demo/thumbs/240p.vtt'],
|
||||||
},
|
},
|
||||||
vimeo: {
|
vimeo: {
|
||||||
@ -67,6 +66,9 @@ import toggleClass from './toggle-class';
|
|||||||
// Prevent Vimeo blocking plyr.io demo site
|
// Prevent Vimeo blocking plyr.io demo site
|
||||||
referrerPolicy: 'no-referrer',
|
referrerPolicy: 'no-referrer',
|
||||||
},
|
},
|
||||||
|
youtube: {
|
||||||
|
customControls: true,
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
// Expose for tinkering in the console
|
// Expose for tinkering in the console
|
||||||
|
Reference in New Issue
Block a user