diff options
Diffstat (limited to 'src/js/ui.js')
-rw-r--r-- | src/js/ui.js | 6 |
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 |