chore:横竖屏
This commit is contained in:
@@ -25,14 +25,8 @@
|
||||
:src="videoUrl"
|
||||
:poster="posterUrl"
|
||||
:style="videoWarpCss"
|
||||
objectFit="cover"
|
||||
controls
|
||||
muted
|
||||
autoplay
|
||||
show-center-play-btn
|
||||
@loadedmetadata="onVideoLoaded"
|
||||
@play="onVideoPlay"
|
||||
@pause="onVideoPause"
|
||||
@error="onVideoError"
|
||||
></video>
|
||||
<!-- #endif -->
|
||||
@@ -240,9 +234,8 @@ export default {
|
||||
/* 微信小程序端样式 */
|
||||
/* #ifdef MP-WEIXIN */
|
||||
.mp-video {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
/* #endif */
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user