nstudio / nativescript-videoplayer

:clapper: Video Player widget for NativeScript apps
MIT License
133 stars 59 forks source link

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

Open StefanNedelchev opened 3 years ago

StefanNedelchev commented 3 years ago

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?

davecoffin commented 3 years ago

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.

StefanNedelchev commented 3 years ago

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