Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-02-06 12:01:33 +08:00
parent 3fc12fcc09
commit b2c3b1ff95
3 changed files with 11 additions and 2 deletions

View File

@@ -154,6 +154,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
@override
void initState() {
super.initState();
plPlayerController.key = GlobalKey<VideoState>();
animationController = AnimationController(
vsync: this, duration: const Duration(milliseconds: 100));
videoController = plPlayerController.videoController!;