mod: 切换至前台继续播放

This commit is contained in:
guozhigq
2023-10-22 09:43:27 +08:00
parent 88e6eb607c
commit ab7dd149d3

View File

@ -218,6 +218,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
controller: videoController, controller: videoController,
controls: NoVideoControls, controls: NoVideoControls,
pauseUponEnteringBackgroundMode: !enableBackgroundPlay, pauseUponEnteringBackgroundMode: !enableBackgroundPlay,
resumeUponEnteringForegroundMode: true,
subtitleViewConfiguration: SubtitleViewConfiguration( subtitleViewConfiguration: SubtitleViewConfiguration(
style: subTitleStyle, style: subTitleStyle,
textAlign: TextAlign.center, textAlign: TextAlign.center,