YouTube fix

This commit is contained in:
Sam Potts 2017-11-14 13:22:23 +01:00
parent 6058bb0245
commit 022b436c3f
3 changed files with 5 additions and 3 deletions

2
dist/plyr.js vendored

File diff suppressed because one or more lines are too long

2
dist/plyr.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -207,7 +207,9 @@ const youtube = {
} }
// Set title // Set title
if (utils.is.function(instance.getVideoData)) {
player.config.title = instance.getVideoData().title; player.config.title = instance.getVideoData().title;
}
// Set the tabindex to avoid focus entering iframe // Set the tabindex to avoid focus entering iframe
if (player.supported.ui) { if (player.supported.ui) {