videojs-player
videojs-player copied to clipboard
设置默认不消除音频时,自动播放就不生效了
中文用户注意:
- 尽量用英文描述你的 issue
- 不要把内容堆彻在标题上,逻辑清晰地写在内容区
- 贴代码要提前格式化好,有颜色高亮那种,贴文本,不要贴图片
- 提问题前,必须仔细阅读 REMADE.md + 在已关闭的问题中寻找与自身相关的问题,90% 的可能它已经被解决
- 如果无法做到提一个合格、优秀的问题,则问题会被 close + block
BUG REPORT TEMPLATE
Vue.js version and component version
Reproduction Link
- A minimal JSBin, JSFiddle, Codepen, or a GitHub repository that can reproduce the bug.
- You could start with this template: https://jsfiddle.net/39epgLj0/
Steps to reproduce
What is Expected?
What is actually happening?
自动播放不生效: { autoplay: true, muted: false, }
自动播放生效: { autoplay: true, muted: true, }
怎么处理才能让自动播放时,默认有音频呢?
这个问题还没解决吗?
In some browsers (e.g. Chrome 70.0) autoplay doesn't work if no muted attribute is present.
这是 浏览器策略 所致。