• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 6 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0031 秒)

1. 播放BGM,soundmanager.play()方法报错。 [ 100%]

...er.play()方法报错。 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_社区 发布时间: 20180511

2. 播放背景音乐出错 [ 78%]

...nager播放mp3报错:   Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document first.     相关代码Laya.SoundManager.playMusic("res/audio/bg.mp3", 0) 2018-06-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...

来源: Laya_社区 发布时间: 20180608

3. Laya2.0 video视频播放失败 [ 78%]

...频,会报错内容:Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document first,网上查找了资料说加muted属性,都无效。请问这个该如何解决?是版本的问题吗? 2020-12-28 添加评论 免费帖 --> 分享 微博 QZONE ...

来源: Laya_社区 发布时间: 20201228

4. Laya.SoundManager.playMusic 播放背景音乐浏览器报错 [ 77%]

... 浏览器报错,无法播放音乐 Error: DOMException: play() failed because the user didn't interact with the document first. https://goo.gl/xX8pDD 2020-02-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Co...

来源: Laya_社区 发布时间: 20200215

5. 2.0.1播放声音会报错 [ 71%]

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"); 附件 : --> SgGame5.zip 2019-...

来源: Laya_社区 发布时间: 20190330

6. 新人求助!FD为什么会出现这个问题 [ 65%]

...ble to start java.exe: 系统找不到指定的文件。 Could not compile because the fcsh process could not be started. Build halted with errors (fcsh). INITIALIZING: Failed, unable to run compiler Done(1) 还有为什么我改了文档类 但是入口还是默认那个? 我就改了 <compile...

来源: Laya_社区 发布时间: 20170830