fix parenthesis
Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
This commit is contained in:
@@ -646,7 +646,10 @@ export default function () {
|
||||
}
|
||||
|
||||
function bindToPlayer(context, player) {
|
||||
if ((releaseCurrentPlayer(), currentPlayer = player, player)) {
|
||||
releaseCurrentPlayer();
|
||||
currentPlayer = player;
|
||||
|
||||
if (player) {
|
||||
const state = playbackManager.getPlayerState(player);
|
||||
onStateChanged.call(player, {
|
||||
type: 'init'
|
||||
|
||||
Reference in New Issue
Block a user