aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/ui.js
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2017-11-07 23:21:35 +1100
committerSam Potts <sam@potts.es>2017-11-07 23:21:35 +1100
commit3f41a0cf5417a3047aafa27894b57fb740d7d7da (patch)
treec1feaa0c6dda3dbec2741e50227f4cd4285f9c38 /src/js/ui.js
parentfae4ca12e02b87f54b1ee7a88815d0b150c46370 (diff)
parent84505da84ba97ae1b189f9c695228d324e9dc3b8 (diff)
downloadplyr-3f41a0cf5417a3047aafa27894b57fb740d7d7da.tar.lz
plyr-3f41a0cf5417a3047aafa27894b57fb740d7d7da.tar.xz
plyr-3f41a0cf5417a3047aafa27894b57fb740d7d7da.zip
Merge branch 'develop' of github.com:Selz/plyr into develop
# Conflicts: # readme.md
Diffstat (limited to 'src/js/ui.js')
-rw-r--r--src/js/ui.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/js/ui.js b/src/js/ui.js
index c0448054..aa579d8d 100644
--- a/src/js/ui.js
+++ b/src/js/ui.js
@@ -84,15 +84,17 @@ const ui = {
// Update the UI
ui.checkPlaying.call(this);
+ // Ready for API calls
this.ready = true;
// Ready event at end of execution stack
utils.dispatchEvent.call(this, this.media, 'ready');
// Autoplay
- if (this.config.autoplay) {
+ // TODO: check we still need this?
+ /* if (this.isEmbed && this.config.autoplay) {
this.play();
- }
+ } */
},
// Show the duration on metadataloaded