Muted video still pauses playing Android audio
See original GitHub issueCurrent behavior
Going to a screen with the Video
component displayed causes any background music to stop playing on the Android device.
Reproduction steps
v3.2.0
Add the component to a screen with muted={true}
:
<Video
muted={true}
source={...}
style={...}
/>
Expected behavior
I would expect the Video
component to not affect any background audio at all.
Platform
Which player are you experiencing the problem on:
- Android
Related
Issue Analytics
- State:
- Created 5 years ago
- Reactions:6
- Comments:10
Top Results From Across the Web
Muted video still pauses playing Android audio #1201 - GitHub
Current behavior. Going to a screen with the Video component displayed causes any background music to stop playing on the Android device.
Read more >SOLVED! - Video Stops Playing After a Few Seconds Android
It's not normal that video stops playing after a few seconds in Android mobile. There are reasons and solutions which are discussed in...
Read more >8 Ways to Fix Video Sound Not Working on Android
Fix 1: The Volume Settings ... You might have turned down the sound and set the device to silent mode for any reason....
Read more >Audio stops playing on Galaxy mobile devices or accessories
Audio stops playing on Galaxy mobile devices or accessories · Adjust the Battery settings. Open Settings, and then tap Apps. · Remove the...
Read more >Solved: Music stops playing when I open another app
Music should not stop if you go over a video with it's sound set to Mute on the various social media apps, but...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Anyone still having related issues try changing the following in the
/android/settings.gradle
file:project(':react-native-video').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-video/android-exoplayer')
to
project(':react-native-video').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-video/android')
Also encountering this issue. Fix?