feat: interactive video

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-02-07 14:08:35 +08:00
parent 331fd0d619
commit a581945c9e
5 changed files with 125 additions and 5 deletions

View File

@@ -578,13 +578,13 @@ class VideoIntroController extends GetxController
}
// 修改分P或番剧分集
Future changeSeasonOrbangu(epid, bvid, cid, aid, cover) async {
Future changeSeasonOrbangu(epid, bvid, cid, aid, cover, [isStein]) async {
// 重新获取视频资源
final videoDetailCtr = Get.find<VideoDetailController>(tag: heroTag)
..plPlayerController.pause()
..makeHeartBeat()
..updateMediaListHistory(aid)
..onReset()
..onReset(isStein)
..bvid = bvid
..oid.value = aid ?? IdUtils.bv2av(bvid)
..cid.value = cid