- 在 video_play/index.html 中为 video 元素添加 controls 和 preload="none" 属性,提升用户体验 - 更新 video_play/weights.json,添加新的视频权重数据
@@ -6,4 +6,5 @@ __pycache__
*.csv
/vector_test/models--shibing624--text2vec-base-chinese/
/copyD/nohup.out
-venv
+venv
+video_play/weights.json
@@ -34,8 +34,8 @@
</el-input-number>
</div>
- <video ref="videoPlayer" controls :src="currentVideo" style="width: 100%; max-height: 80vh;"
- @ended="handleVideoEnd">
+ <video ref="videoPlayer" controls :src="currentVideo" style="width: 100%; max-height: 80vh;" controls
+ preload="none" @ended="handleVideoEnd">
您的浏览器不支持视频播放
</video>
</el-main>