nativescript-videoplayer icon indicating copy to clipboard operation
nativescript-videoplayer copied to clipboard

The plugin is taking over the audio focus even on muted videos

Open StefanNedelchev opened this issue 4 years ago • 2 comments

This issue can be reproduced even with the basic demo app. In addition to the properties add muted: false. If you have an app currently playing music on your phone in the background (the default music player, spotify, etc.), it gets paused as soon as the video player is initialized, even when it's muted. I know that this is very specific case but is there any way I can allow background audio to keep playing while the video player is playing too?

StefanNedelchev avatar Mar 30 '21 13:03 StefanNedelchev

I could be wrong but I dont think there is any case in which iOS lets you have a video playing while also playing audio from another source.

davecoffin avatar Mar 30 '21 15:03 davecoffin

I could be wrong but I dont think there is any case in which iOS lets you have a video playing while also playing audio from another source.

The Exoplayer plugin seems to allow that

StefanNedelchev avatar Apr 02 '21 10:04 StefanNedelchev