Skip to content

Commit

Permalink
create shorter line
Browse files Browse the repository at this point in the history
  • Loading branch information
inbalvasserman committed Aug 8, 2023
1 parent 69aed65 commit 6e4a4e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/playlist/playlist-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ class PlaylistManager {
// from the second item onwards
playback['autoplay'] = true;
} else {
playback['autoplay'] = this._playerOptions.playback ? this._playerOptions.playback.autoplay : false;
playback['autoplay'] = !!this._playerOptions.playback?.autoplay;
}
}
this._player.configure({playback});
Expand Down

0 comments on commit 6e4a4e6

Please sign in to comment.