fix: player fit rebuild

This commit is contained in:
guozhigq
2024-03-18 22:13:15 +08:00
parent e04a7e5702
commit 64292d523f

View File

@ -346,6 +346,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
children: <Widget>[
Obx(
() => Video(
key: ValueKey(_.videoFit.value),
controller: videoController,
controls: NoVideoControls,
pauseUponEnteringBackgroundMode: !enableBackgroundPlay,