mod: playall: auto play next

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-12-23 21:11:38 +08:00
parent 3ee1c9fdcd
commit c79364cef2

View File

@@ -226,7 +226,9 @@ class _VideoDetailPageState extends State<VideoDetailPage>
bool notExitFlag = false;
/// 顺序播放 列表循环
if (plPlayerController!.playRepeat != PlayRepeat.pause &&
if (videoDetailController.isPlayAll) {
notExitFlag = videoIntroController.nextPlay();
} else if (plPlayerController!.playRepeat != PlayRepeat.pause &&
plPlayerController!.playRepeat != PlayRepeat.singleCycle) {
if (videoDetailController.videoType == SearchType.video) {
notExitFlag = videoIntroController.nextPlay();