[]播放背景音乐出错
直接使用SoundManager播放mp3报错:
Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document first.
相关代码
Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document first.
相关代码
Laya.SoundManager.playMusic("res/audio/bg.mp3", 0)
没有找到相关结果
已邀请:
要回复问题请先登录
1 个回复
Aar0n
赞同来自: