betterplayer
betterplayer copied to clipboard
[BUG] Full-screen crash Android
It's reproduced on any Android with flutter SDK >= 2.10 in release mode. @jhomlala Could you update the project to the new SDK?
try this bro
BetterPlayerConfiguration betterPlayerConfiguration =
BetterPlayerConfiguration(
aspectRatio: 9/18,
fit: BoxFit.contain,
autoPlay: false,
controlsConfiguration :BetterPlayerControlsConfiguration(
showControls: true,
enableSkips: false,
enableFullscreen: true,
// enableMute : false,
// enableProgressText: false,
// enableProgressBar :false,
enablePip:false,
enablePlayPause:false,
enableOverflowMenu: false,
)
);
and the widget
Container(
color: Colors.black,
height :double.infinity,
width : double.infinity,
child: BetterPlayerMultipleGestureDetector(
child: AspectRatio(
aspectRatio: 9 / 15,
child: BetterPlayer(
controller: _betterPlayerController,
),
),
),
)
i have used this for full screen
@xarmatura Please provide crash logs and sample code.