继续播放时,隐藏进度条,无需检查是否全屏

This commit is contained in:
haiyangcui
2020-11-07 12:39:12 +01:00
parent 0fc8e54d26
commit c676159cc7

View File

@@ -823,10 +823,8 @@ export default {
if (this.xg) {
if (this.xg.paused) {
this.xg.play()
// 当全屏暂停再继续播放时,隐藏进度条
if (this.xg.fullscreen) {
remote.getCurrentWindow().setProgressBar(-1)
}
// 继续播放时,隐藏进度条
remote.getCurrentWindow().setProgressBar(-1)
} else {
this.xg.pause()
}