opt: player

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-05 21:35:15 +08:00
parent 22e6e19500
commit 47e79ee7d8
4 changed files with 15 additions and 17 deletions

View File

@@ -558,8 +558,11 @@ class VideoIntroController extends GetxController
Future changeSeasonOrbangu(epid, bvid, cid, aid, cover) async {
// 重新获取视频资源
final videoDetailCtr = Get.find<VideoDetailController>(tag: heroTag)
..plPlayerController.pause()
..makeHeartBeat()
..playedTime = null
..videoUrl = null
..audioUrl = null
..updateMediaListHistory(aid)
..vttSubtitlesIndex = null
..savedDanmaku = null