This commit is contained in:
binbin_pan 2024-12-19 21:51:38 +08:00
parent c956e8cd33
commit 1765100a56
1 changed files with 5 additions and 8 deletions

View File

@ -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%;
}
}