DOMException: play() failed because the user didn‘t interact with the document first.

Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document first. https://goo.gl/xX8pDD





Insert title here




	
	
	

DOMException: play() failed because the user didn‘t interact with the document first._第1张图片

DOMException: play() failed because the user didn‘t interact with the document first._第2张图片

NotAllowedError: The play method is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.

用户没有交互就不给自动播放。

浏览器也没有地方设置允许不进行交互的自动播放。

DOMException: play() failed because the user didn‘t interact with the document first._第3张图片

DOMException: play() failed because the user didn‘t interact with the document first._第4张图片

===

这个版本可以。低版本可用的,并且关闭浏览器升级。

DOMException: play() failed because the user didn‘t interact with the document first._第5张图片

https://download.csdn.net/download/spencer_tseng/88801322

DOMException play() failed because the user didn‘t interact with the document fi_哔哩哔哩_bilibili

DOMException: play() failed because the user didn‘t interact with the document first._第6张图片

亲爱的用户,您如果不相信我可以多咨询一些IT的专业人士。

浏览器升级,我们无法预测和控制啊。

你可能感兴趣的:(js-flex,html,audio)