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

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

1. 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. [ 100%]

谷歌浏览器播放mp3出现The AudioContext was not allowed to start. 播放音乐没声音,控制台打印The AudioContext was not allowed to start. 其他浏览器没这个问题,换了几台电脑问题一样 前两天用谷歌浏览器正常, 貌似是谷歌浏览器自动更新了这...

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

2. 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() [ 91%]

播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() 你们调试下 看看!这个问题不影响实际操作,就是看着有个报错!...

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

3. chrome里运行游戏 游戏声音听不见 [ 86%]

chrome里运行游戏 游戏声音听不见 chrome里运行游戏  游戏声音听不见  开发者模式提示内容如下: The AudioContext was not allowed to start. It must be resume (or created) after a user gesture on the page  https://ask.layabox.com/question/14328 回答过于简单;...

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

4. 调试正常但发布后,index.html在浏览器打开出现跨源受限的问题 [ 82%]

调试正常但发布后,index.html在浏览器打开出现跨源受限的问题 Image from origin 'file://' has been blocked from loading by Cross-Origin Resource Sharing policy: Invalid response. Origin 'null' is therefore not allowed access. laya.core.min.js:6 [warn]Retry to load: E:/laya/laya...

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

5. 游戏运行在chrome里面 听不见声音 [ 80%]

游戏运行在chrome里面 听不见声音 游戏运行在chrome里面  听不见声音;其它浏览器可以听见声音 开发者模式提示如下:  The AudioContext was not allowed to start. It must be resume (or created) after a user gesture on the page     在下小白 ,请回答...

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

6. 图片加载问题 [ 72%]

图片加载问题 var s:Sprite = new Sprite; s.loadImage("res/soil.png"); Laya.stage.addChild(s); chrome报错:Access to Image at 'file:///E:/study/LayaAirStudy/bin/h5/res/soil.png' from origin 'null' has been blocked by CORS policy: Invalid response. Origin 'null' is therefore not allowed acces...

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

7. (有图片附件)图集用的atlas 在LayaAir里可以正常跑,但是发布后,运行报错 Failed to load file.Cross origin requests are [ 70%]

(有图片附件)图集用的atlas 在LayaAir里可以正常跑,但是发布后,运行报错 Failed to load file.Cross origin requests are Failed to load file:///H:/WeChatQ1Snake/release/layaweb/v1.0.0/res/atlas/images.atlas: Cross origin requests are only supported for protocol schemes: http, ...

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

8. chrome 音效 [ 70%]

chrome 音效 google 在Chrome 66中,HTML 5引擎所建立的游戏无法播放声音。 Google在本周更新了Chrome 66,暂时移除针对Web Audio API的自动播放政策。似乎Chrome 70中会再度实施。 之后webAudioSound针对chrome会有相应更新吗 2018-05-18 添加评论 免...

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

9. Laya.loader 跨域问题? [ 69%]

Laya.loader 跨域问题? 想通过Laya.loader.load加载一个第三方的头像图片,但是提示跨域不能加载,错误如下,请问如何处理?     Access to Image at 'http://tva2.sinaimg.cn/crop.0.0.180.180.50/***.jpg' from origin 'http://***.sina.com.cn' has been blocked by CO...

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

10. Access-Control-Allow-Origin 跨域问题 [ 68%]

Access-Control-Allow-Origin 跨域问题 Access to Image at 'http://192.168.1.66:9356/fileUpload/5749684.png' from origin 'file://' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'file://' is therefore not allowed access. 2017-0...

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