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