[LayaAir 2.0]2.0.1播放声音会报错
Error: DOMException: play() failed because the user didn't interact with the document first. https://goo.gl/xX8pDD
这个是报错内容 必现
播放声音代码在 GameUI.ts 里面这句 SoundControl.instance.playBgMusic("normalBg");
这个是报错内容 必现
播放声音代码在 GameUI.ts 里面这句 SoundControl.instance.playBgMusic("normalBg");
没有找到相关结果
已邀请:
要回复问题请先登录
1 个回复
Laya_XS
赞同来自: