feat(video-player): 增强视频播放器错误处理和倍速功能

- 添加错误自动恢复机制,当遇到可恢复错误时自动跳过问题区间
- 增加倍速提示显示控制选项和自动隐藏功能
- 扩展默认倍速选项,添加0.75x和1.25x选项
- 优化错误处理流程,提供更详细的错误信息
- 移除调试日志,提升代码整洁度
- 更新版本号至1.0.10
- 修改edu-core依赖为本地引用
This commit is contained in:
2026-03-10 16:23:06 +08:00
parent 5200c73bc5
commit c89c937bc7
4 changed files with 209 additions and 13 deletions

View File

@@ -110,6 +110,11 @@
type: Array,
default: () => []
},
//是否显示倍速提示
showRateTips: {
type: Boolean,
default: false
},
//循环播放
loop: {
type: Boolean,
@@ -260,7 +265,6 @@
created() {
//获取当前运行的平台
this.updateHeight()
console.log('倍速列表是否是ios YINGBING' + JSON.stringify(this.playbackRates))
},
methods: {
//接收消息