From 9115db5e157173b8e5c3acb4eec0a01870ee64f7 Mon Sep 17 00:00:00 2001 From: edde746 <86283021+edde746@users.noreply.github.com> Date: Thu, 20 Nov 2025 19:08:31 +0100 Subject: [PATCH] fix: ios media controls --- lib/screens/video_player_screen.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/screens/video_player_screen.dart b/lib/screens/video_player_screen.dart index 36793233..63522dcc 100644 --- a/lib/screens/video_player_screen.dart +++ b/lib/screens/video_player_screen.dart @@ -224,6 +224,7 @@ class VideoPlayerScreenState extends State 'sub-back-color': '#${(settingsService.getSubtitleBackgroundOpacity() * 255 / 100).toInt().toRadixString(16).padLeft(2, '0').toUpperCase()}${settingsService.getSubtitleBackgroundColor().replaceFirst('#', '')}', 'sub-ass-override': 'no', + 'audio-exclusive': 'yes', }, ), ); @@ -1515,7 +1516,9 @@ class VideoPlayerScreenState extends State player!.play(); // Clear the inactive state flag since user manually resumed via media controls _wasPlayingBeforeInactive = false; - appLogger.d('Cleared _wasPlayingBeforeInactive due to manual play via media controls'); + appLogger.d( + 'Cleared _wasPlayingBeforeInactive due to manual play via media controls', + ); // Update media controls to reflect the new state _updateMediaControlsPlaybackState(); }