fix: player issues

This commit is contained in:
yanghao05
2025-04-29 14:43:19 +08:00
parent 0c56ff0ff3
commit 1dbdfba3cb
2 changed files with 3 additions and 2 deletions

View File

@@ -50,7 +50,8 @@ const loadVideoSource = async () => {
}
} catch (error) {
console.error('Failed to load video:', error)
// alert('视频加载失败,请稍后重试')
alert('视频加载失败: ' + error.response.data)
await player.value.stop()
}
}