360手机浏览器的内置video在部分机型上只能显示视频的一部分,并且video的poster会被视频所覆盖无法显示,请问有什么办法吗
.mp4 {
height: 7rem;
width: 75%;
margin: auto;
display: flex;
justify-content: center;
align-items: center;
outline: none;
overflow: hidden;
}
<video id="myVideo" poster="static/img/loginbackground.jpg" style="outline: none;width: 100%;object-fit: fill;">
<source src="static/mp4/arrow.mp4" type="video/mp4"/>
</video> |
|
|
|
评论
直达楼层