Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-12-17 12:43:09 +08:00
parent ab1e5cb62a
commit b4fb7d14d4
31 changed files with 84 additions and 85 deletions

View File

@@ -615,7 +615,7 @@ class PlPlayerController {
int? seasonId,
int? pgcType,
VideoType? videoType,
VoidCallback? callback,
VoidCallback? onInit,
Volume? volume,
String? dirPath,
String? typeTag,
@@ -680,7 +680,7 @@ class PlPlayerController {
// listen the video player events
startListeners();
await _initializePlayer();
callback?.call();
onInit?.call();
} catch (err, stackTrace) {
dataStatus.status.value = DataStatus.error;
if (kDebugMode) {