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

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

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

...错。 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. 这个错误呀? 有没有高手给解答一下? 2018-05-...

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

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

...错:   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. Laya.SoundManager.playMusic 播放背景音乐浏览器报错 [ 79%]

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

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

4. 2.0.1播放声音会报错 [ 79%]

...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-03-30...

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

5. 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

6. 运行器在手机上一打开就崩溃 [ 48%]

...398: E/AndroidRuntime(13400): Caused by: java.lang.ClassNotFoundException: Didn't find class "org.apache.http.impl.client.DefaultHttpClient" on path: DexPathList[[zip file "/data/app/com.layabox.conch5-WmvUfm1cYXmz3ehb96As4g==/base.apk"],nativeLibraryDirectories=[/data/app/com.layabox.conch5-WmvUfm1...

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