<video controls="controls" autoplay="autoplay" width="100%" height=198 poster="image/xxx.png" runat="server"
id="VideoShow"><source type="video/mp4" src="xxx.mp4"
webkit-playsinline=true>
</video>
iphone5s能自动播放,小米2S,华为M7不能自动播放。
也试过
setTimeout(myfunction(), 1000);
function myfunction()
{
document.getElementById('VideoShow').load();
document.getElementById('VideoShow').pause();
document.getElementById('VideoShow').play();
}
还是没效果