1、使用source标签
2、source标签type改为video/mp4
3、确认播放的MP4编码为h264
<video id="video-player" muted="muted"
poster="static/images/test.png" preload="none" autoplay="autoplay"
loop="loop">
<source src="static/test.mp4" type="video/mp4"/>
</video>
1、使用source标签
2、source标签type改为video/mp4
3、确认播放的MP4编码为h264
<video id="video-player" muted="muted"
poster="static/images/test.png" preload="none" autoplay="autoplay"
loop="loop">
<source src="static/test.mp4" type="video/mp4"/>
</video>