写video标签,写事件执行this.play()时,报错:

据了解,是因为新版谷歌禁止播放器自动播放,但可以有解决方法,方法如下:
一、登陆网站
chrome://flags/#autoplay-policy
二、设置
在Autoplay policy设置选项中选择No user gesture is required

写video标签执行this.play()时会报错,原因是新版谷歌禁止播放器自动播放。解决方法为登陆chrome://flags/#autoplay-policy网站,在Autoplay policy设置选项中选择No user gesture is required。
写video标签,写事件执行this.play()时,报错:

据了解,是因为新版谷歌禁止播放器自动播放,但可以有解决方法,方法如下:
一、登陆网站
chrome://flags/#autoplay-policy
二、设置
在Autoplay policy设置选项中选择No user gesture is required

5598

被折叠的 条评论
为什么被折叠?