微信里面打开网页可自动播放的视频代码IOS测试没问题
<!DOCTYPE HTML> <html> <body> <video id="videoID" src="1.MP4" autoplay="autoplay" controls="controls"> your browser does not support the video tag </video> </body> </html> <script> document.addEventListener("WeixinJSBridgeReady",function(){ document.getElementById("videoID").play(); },false); </script>