修复播放某些在线音频会没有声音的问题

This commit is contained in:
lyswhut
2023-05-22 15:37:28 +08:00
parent b7f355bd1a
commit dab81116e9
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -53,6 +53,7 @@ export const createAudio = () => {
audio.controls = false
audio.autoplay = true
audio.preload = 'auto'
audio.crossOrigin = 'anonymous'
}
const initAnalyser = () => {