mirror of https://github.com/calzoneman/sync.git
Fix streamable autoplay
This commit is contained in:
parent
8db22ad924
commit
071def0838
|
@ -52,6 +52,9 @@ window.PlayerJSPlayer = class PlayerJSPlayer extends Player
|
|||
|
||||
@player.setVolume(VOLUME * 100)
|
||||
|
||||
if not @paused
|
||||
@player.play()
|
||||
|
||||
@ready = true
|
||||
)
|
||||
)
|
||||
|
|
|
@ -757,6 +757,9 @@
|
|||
}
|
||||
});
|
||||
_this.player.setVolume(VOLUME * 100);
|
||||
if (!_this.paused) {
|
||||
_this.player.play();
|
||||
}
|
||||
return _this.ready = true;
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue