Start player in pause mode if windows is reloaded/refreshed. Fixes #457
This commit is contained in:
@@ -44,7 +44,7 @@ const Player = () => {
|
||||
autoPlay: true,
|
||||
preload: true,
|
||||
autoPlayInitLoadPlayList: true,
|
||||
// loadAudioErrorPlayNext: false,
|
||||
loadAudioErrorPlayNext: false,
|
||||
clearPriorAudioLists: false,
|
||||
showDestroy: false,
|
||||
showDownload: false,
|
||||
@@ -94,6 +94,7 @@ const Player = () => {
|
||||
return {
|
||||
...defaultOptions,
|
||||
clearPriorAudioLists: queue.clear,
|
||||
playIndex: queue.playIndex,
|
||||
audioLists: queue.queue.map((item) => item),
|
||||
defaultVolume: queue.volume,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user