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