【错误内容】DOM Exception: play() failed because the user didn't interact with the document first.
【原因】Chrome 66为了避免标签产生随机噪音而报错。
【解决】在<video>标签中添加muted属性,静音即可。
<video muted></video>
(转载自https://www.imooc.com/qadetail/258884?t=418313)
【错误内容】DOM Exception: play() failed because the user didn't interact with the document first.
【原因】Chrome 66为了避免标签产生随机噪音而报错。
【解决】在<video>标签中添加muted属性,静音即可。
<video muted></video>
(转载自https://www.imooc.com/qadetail/258884?t=418313)