jwplayer / jwplayer-react-native

MIT License
32 stars 9 forks source link

[FEAT] Gracefully handle changing playlist #78

Closed dominictobias closed 2 months ago

dominictobias commented 3 months ago

Is your feature request related to a problem? Please describe.

Right now the player behaves like this:

a) if the playlist is falsy the video player never renders a video even if it changes to non falsy b) if the playlist changes, the player errors with code 202630

Describe the solution you'd like

Should be able to detect playlist changes gracefully.

This makes swiping to next/prev video much easier.

Describe alternatives you've considered

Right now I am trying to find a workaround like loading multiple video players, or mounting and unmounting the player but it's not pretty or resource efficient.

Additional context Add any other context or screenshots about the feature request here.

JWP Ticketing To expedite resolution and maintain confidentiality, submit a JWP request in addition to this new Issue. A JWP request offers the following benefits:

ℹ️ While Issues are valuable for open-source collaboration, a JWP request ensures that you will receive clear timelines and efficient support.