html音视频微信不能播放及Chrome: Uncaught (in promise) DOMException
It appears to be a known bug in Chrome – take a look at the issue tracker here: https://bugs.chromium.org/p/chromium/issues/detail?id=593273
It seems that there is no way to prevent the error until this is fixed by the Chrome team
Chrome处理方法
Open chrome://flags/#autoplay-policy
Setting No user gesture is required
Relaunch Chrome
微信处理方法
代码如下即可: