fix: Web and input device switching in video player

This commit is contained in:
PartyDonut 2025-10-27 20:20:26 +01:00
parent 1eeecdc18f
commit 3b4eec6c4f
5 changed files with 110 additions and 63 deletions

View file

@ -56,7 +56,7 @@ class MediaControlsWrapper extends BaseAudioHandler implements VideoPlayerContro
Future<void> init() async {
if (!initializedWrapper) {
initializedWrapper = true;
if (!kIsWeb || Platform.isAndroid) {
if (!kIsWeb && Platform.isAndroid) {
VideoPlayerControlsCallback.setUp(this);
}
await AudioService.init(