html5 autoplay不起做用 Uncaught (in promise) DOMException: play() failed because the user didn't interac

Chrome的autoplay政策在2018年4月作了更改。chrome 新的行为:浏览器为了提升用户体验,减小数据消耗,如今都在遵循autoplay政策,Chrome的autoplay 政策很是简单浏览器 1. muted autoplay始终被容许ui 2. 音乐的autoplay 只有在下面集中状况下起做用:spa     1. 有用户行为发生像(click,tap,etc). code  
相关文章
相关标签/搜索