opt auto fullscreen

opt video fit

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-03-04 14:22:51 +08:00
parent 8d312d8cf1
commit a802bc1cdf
7 changed files with 47 additions and 85 deletions

View File

@@ -75,11 +75,9 @@ class _LiveRoomPageState extends State<LiveRoomPage>
LiveRoomController(heroTag),
tag: heroTag,
);
plPlayerController = _liveRoomController.plPlayerController;
PlPlayerController.setPlayCallBack(plPlayerController.play);
plPlayerController
..autoEnterFullscreen()
plPlayerController = _liveRoomController.plPlayerController
..addStatusLister(playerListener);
PlPlayerController.setPlayCallBack(plPlayerController.play);
}
@override