'react-native jwplayer in ios -> video player keeps playing video in background even after component unmounts
When I fullscreen the jwplayer and reset to normal and go back unmounting the component doesn't stop the video and does not unmounts the player. The video keeps playing in the background.
Does anyone face the same issue?
the scenario:
Screen A renders a player Go Into fullscreen Go back to normal screen
Navigate to Screen B and player in Screen A still plays?
Another scenerio: Screen A renders a player Go into fullscreen Go back to normal view rotate the device to landscape player visible in fullscreen go back to previous screen unmounting the screen A player is playing the video in background rotate to landscape the video is visible in fullscreen
Tried with createNativeStackNavigator and createStackNavigator both.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
