jwplayer / jwplayer-react-native

MIT License
32 stars 9 forks source link

[BUG] Dynamically added video stops current video playback on iOS #71

Open MantasMikal opened 3 months ago

MantasMikal commented 3 months ago

Dynamically added video stops current video playback on iOS

A bit of context I'm working on an app which has an in-app mini-player which sits above all screens. When going to a screen that has another video, the mini-player video stops. This does not happen on Android devices

https://github.com/user-attachments/assets/aa867ee9-2920-4c0c-8c37-f902df6f3baf

To Reproduce

Clone https://github.com/MantasMikal/jwplayer-react-native-ios-issues

Steps to reproduce the issue:

  1. Go to 'Dynamic Example' screen on iOS
  2. Play the first video
  3. Hit the "Show video" button to insert a new video. The previous video will stop

Expected behavior The video should continue playing when a new video is added

Device(s) affected

JWP Ticketing

https://support.jwplayer.com/hc/en-us/requests/158594