html页面引用video.js播放m3u8格式视频
//head里面的内容,我是采用cdn引用的方式,因为项目太小
<head>
</head>
<div class="shipin">
<video >
</video>
</div>
//css
.shipin{
margin-top: 1.5625rem;
display: flex;
justify-content: center;
}
.shipin video{
width:100%;
height:100%;
object-fit: fillidth: 100% !
}