This commit is contained in:
parent
c956e8cd33
commit
1765100a56
|
|
@ -5,12 +5,9 @@
|
|||
id="myVideo"
|
||||
:src="path"
|
||||
:initial-time="studyDuration"
|
||||
:show-progress="true"
|
||||
:enable-progress-gesture="false"
|
||||
@error="videoErrorCallback"
|
||||
@timeupdate="videoTimeUpdate"
|
||||
:controls="true"
|
||||
:autoplay="true"
|
||||
controls
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
|
@ -233,15 +230,15 @@ export default {
|
|||
|
||||
<style lang="scss" scoped>
|
||||
// 隐藏 video 默认控制条
|
||||
::v-deep .uni-video-controls {
|
||||
/* ::v-deep .uni-video-controls {
|
||||
display: none !important;
|
||||
}
|
||||
} */
|
||||
|
||||
.video {
|
||||
width: 100%;
|
||||
width: 100vw;
|
||||
height: 260px;
|
||||
uni-video {
|
||||
width: 100%;
|
||||
width: 100vw;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue