瀏覽代碼

fix: when a song stops playing in a station, stop the video in the background and don't just pause it

Kristian Vos 3 年之前
父節點
當前提交
a76112b63e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      frontend/src/pages/Station/index.vue

+ 1 - 1
frontend/src/pages/Station/index.vue

@@ -1470,7 +1470,7 @@ export default {
 					);
 					);
 				}
 				}
 			} else {
 			} else {
-				if (this.playerReady) this.player.pauseVideo();
+				if (this.playerReady) this.player.stopVideo();
 				this.updateNoSong(true);
 				this.updateNoSong(true);
 			}
 			}