当全屏暂停再继续播放时,隐藏进度条

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

View File

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