feat: new send danmaku panel

Closes #98

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-04 21:48:07 +08:00
parent 58fd373e8c
commit 27e39d4de5
6 changed files with 656 additions and 97 deletions

View File

@@ -372,15 +372,18 @@ class BangumiIntroController extends CommonController {
// 修改分P或番剧分集
Future changeSeasonOrbangu(epId, bvid, cid, aid, cover) async {
// 重新获取视频资源
VideoDetailController videoDetailCtr =
Get.find<VideoDetailController>(tag: Get.arguments['heroTag'])
..epId = epId;
this.epId = epId;
this.bvid = bvid;
videoDetailCtr.bvid = bvid;
videoDetailCtr.cid.value = cid;
videoDetailCtr.danmakuCid.value = cid;
videoDetailCtr.queryVideoUrl();
final videoDetailCtr =
Get.find<VideoDetailController>(tag: Get.arguments['heroTag'])
..vttSubtitlesIndex = null
..savedDanmaku = null
..epId = epId
..bvid = bvid
..cid.value = cid
..danmakuCid.value = cid
..queryVideoUrl();
if (cover is String && cover.isNotEmpty) {
videoDetailCtr.videoItem['pic'] = cover;
}