Commit ea32d12f authored by Skye Yu's avatar Skye Yu

fix: download audio background music muted

parent 034fe900
...@@ -714,7 +714,7 @@ Jensen.prototype.getFile = async function (filename, length, ondata, onprogress) ...@@ -714,7 +714,7 @@ Jensen.prototype.getFile = async function (filename, length, ondata, onprogress)
audio.loop = true; audio.loop = true;
audio.controls = false; audio.controls = false;
audio.autoplay = true; audio.autoplay = true;
audio.muted = false; audio.muted = true;
document.body.appendChild(audio); document.body.appendChild(audio);
} }
if (document.visibilityState === 'hidden') { if (document.visibilityState === 'hidden') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment