laya的那些坑
2024-10-17 00:05:36
游戏运行在chrome里面 听不见声音
游戏运行在chrome里面 听不见声音;其它浏览器可以听见声音
开发者模式提示如下:
The AudioContext was not allowed to start. It must be resume (or created) after a user gesture on the page
开发者模式提示如下:
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/14526?notification_id=58618&rf=false&item_id=24363,24398#!answer_24398
pc端打开chrome浏览器,新建页签,地址栏输入 chrome://flags/#autoplay-policy 选择 No user gesture is required,之后重启浏览器即可,chrome浏览器更新版本后的新增的安全策略。
字体嵌入
https://www.w3cplus.com/content/css3-font-face
http://ask.layabox.com/question/332
最新文章
- css实现容器垂直水平居中的七中方法
- [深入浅出WP8.1(Runtime)]文本框(TextBox)
- 焦点问题onfocus=”this.blur()”代替方法(转)
- iOS Application Life Cycle 应用程序生命周期
- 不定参数的传递VA_LIST的用法
- hdu1142 A Walk Through the Forest( Dijkstra算法+搜索)
- tips [终端]
- Easyui + asp.net mvc + sqlite 开发教程(录屏)适合入门
- 一道面试题引发的pythonic
- MongoDB基础教程系列--第九篇 MongoDB 分片
- 深度学习之 cnn 进行 CIFAR10 分类
- mysql之找回误删数据
- git pull代码冲突。怪异问题,了解一下
- String类常用方法练习
- java中定义enum示例
- c++ auto 理解
- oracle 导入导出 dmp 的三种方式
- android:View的setTag和getTag使用
- NOIP2018训练题集
- CAPL编程实现诊断刷写,车联网FOTA流程自动化测试(方案篇)