微信浏览器 viedeo自动播放
作者:互联网
<video muted autoplay />
setTimeout(()=>{
let video = document.getElementsByTagName("video")
video[0].play()
},0)
document.addEventListener("WeixinJSBridgeReady", function () {
let video = document.getElementsByTagName("video")
video[0].play()
}, false)
标签:function,play,微信,自动播放,video,getElementsByTagName,let,document,viedeo 来源: https://blog.csdn.net/CherryCola_zjl/article/details/120355757