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

This commit is contained in:
haiyangcui
2020-11-07 12:35:35 +01:00
committed by buvta
parent 9ccfefaafb
commit 4c4cc6d81b

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()
}