aboutsummaryrefslogtreecommitdiffstats
path: root/src/js
diff options
context:
space:
mode:
authorSam Potts <me@sampotts.me>2016-03-14 22:34:28 +1100
committerSam Potts <me@sampotts.me>2016-03-14 22:34:28 +1100
commitb51a1684dc624a9fda18a93c83f8b5ab790146ba (patch)
tree6a4181cb16f3a1aab3574fec13c3c7f373d7334f /src/js
parent5ea9e59d71b462ab5d651c1f8189e48d89205d63 (diff)
downloadplyr-b51a1684dc624a9fda18a93c83f8b5ab790146ba.tar.lz
plyr-b51a1684dc624a9fda18a93c83f8b5ab790146ba.tar.xz
plyr-b51a1684dc624a9fda18a93c83f8b5ab790146ba.zip
Fix for embed property not being set
Diffstat (limited to 'src/js')
-rw-r--r--src/js/plyr.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/js/plyr.js b/src/js/plyr.js
index 1ad338e9..0c877a7d 100644
--- a/src/js/plyr.js
+++ b/src/js/plyr.js
@@ -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