Fix for embed property not being set

This commit is contained in:
Sam Potts
2016-03-14 22:34:28 +11:00
parent 5ea9e59d71
commit b51a1684dc
4 changed files with 35 additions and 13 deletions

View File

@ -1,6 +1,6 @@
// ==========================================================================
// Plyr
// plyr.js v1.5.18
// plyr.js v1.5.19
// https://github.com/selz/plyr
// License: The MIT License (MIT)
// ==========================================================================
@ -1415,14 +1415,14 @@
// When embeds are ready
function _embedReady() {
// Setup the UI
_setupInterface();
// Set title
_setTitle(_getElement('iframe'));
// Store reference to API
plyr.container.plyr.embed = plyr.embed;
// Setup the UI
_setupInterface();
}
// Handle YouTube API ready