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,
controls: NoVideoControls,
pauseUponEnteringBackgroundMode: !enableBackgroundPlay,
resumeUponEnteringForegroundMode: true,
subtitleViewConfiguration: SubtitleViewConfiguration(
style: subTitleStyle,
textAlign: TextAlign.center,