Start player in pause mode if windows is reloaded/refreshed. Fixes #457

This commit is contained in:
Deluan 2020-09-24 11:12:47 -04:00
parent fd32a28788
commit cff5c1ee53

View file

@ -41,7 +41,7 @@ const Player = () => {
theme: playerTheme,
bounds: 'body',
mode: 'full',
autoPlay: true,
autoPlay: false,
preload: true,
autoPlayInitLoadPlayList: true,
loadAudioErrorPlayNext: false,
@ -94,6 +94,7 @@ const Player = () => {
return {
...defaultOptions,
clearPriorAudioLists: queue.clear,
autoPlay: queue.clear || queue.playIndex === 0,
playIndex: queue.playIndex,
audioLists: queue.queue.map((item) => item),
defaultVolume: queue.volume,