Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-01-31 13:10:09 +08:00
parent dbc7bcd0dd
commit 8964197b73
68 changed files with 560 additions and 293 deletions

View File

@@ -1120,7 +1120,7 @@ class VideoDetailController extends GetxController
playerInit();
}
FutureOr<void> _initPlayerIfNeeded() {
Future<void>? _initPlayerIfNeeded() {
if (autoPlay.value ||
(plPlayerController.preInitPlayer && !plPlayerController.processing) &&
(isFileSource
@@ -1128,6 +1128,7 @@ class VideoDetailController extends GetxController
: videoPlayerKey.currentState?.mounted == true)) {
return playerInit();
}
return null;
}
Future<void> playerInit({