Fix streamable autoplay

This commit is contained in:
Calvin Montgomery 2017-09-25 19:25:31 -07:00
parent 8db22ad924
commit 071def0838
2 changed files with 6 additions and 0 deletions

View File

@ -52,6 +52,9 @@ window.PlayerJSPlayer = class PlayerJSPlayer extends Player
@player.setVolume(VOLUME * 100)
if not @paused
@player.play()
@ready = true
)
)

View File

@ -757,6 +757,9 @@
}
});
_this.player.setVolume(VOLUME * 100);
if (!_this.paused) {
_this.player.play();
}
return _this.ready = true;
});
};