原文地址:(https://unnue.com/article/28)
html:
<video id="byl_video" style="object-fit:fill" preload="auto" playsinline="true" webkit-playsinline="true" x-webkit-airplay="allow" airplay="allow" x5-video-player-type="h5" x5-video-player-fullscreen="true" x5-video-orientation="portrait" src="http://varwx.club/videos/video.mp4"></video>
js:
var video = document.getElementById('byl_video');
document.addEventListener("WeixinJSBridgeReady", function() {
video.play();
}, false);
video.play();
原文地址:(https://unnue.com/article/28)
![](https://img.laitimes.com/img/9ZDMuAjOiMmIsIjOiQnIsIyZwpmL4YDNwADMwQTM0ETMwAjMwIzLc52YucWbp5GZzNmLn9Gbi1yZtl2Lc9CX6MHc0RHaiojIsJye.jpg)