aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/plyr.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/plyr.js')
-rw-r--r--src/js/plyr.js9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/js/plyr.js b/src/js/plyr.js
index b14f6964..dfcc12f0 100644
--- a/src/js/plyr.js
+++ b/src/js/plyr.js
@@ -1,6 +1,6 @@
// ==========================================================================
// Plyr
-// plyr.js v1.3.4
+// plyr.js v1.3.5
// https://github.com/selz/plyr
// License: The MIT License (MIT)
// ==========================================================================
@@ -1398,6 +1398,7 @@
player.embed.api('seekTo', targetTime);
}
+ // Trigger timeupdate
_triggerEvent(player.media, 'timeupdate');
if (paused) {
@@ -2047,6 +2048,10 @@
if (player.type == 'video' || player.type == 'audio') {
// Bail if no support
if (!player.supported.full) {
+ // Successful setup
+ player.init = true;
+
+ // Don't inject controls if no full support
return;
}
@@ -2197,4 +2202,4 @@
return players;
};
-}(this.plyr = this.plyr || {})); \ No newline at end of file
+}(this.plyr = this.plyr || {}));