Duplicate videos on the React Native list
Closed this issue · 2 comments
blitsoftwares commented
blitsoftwares commented
Multiple instances on Android
The YouTube API for Android is a singleton. What it means is that unlike the iOS implementation, no two players can be mounted and play a video at the same time. If you have two scenes that happen to live together, or come one after the other (such as when navigating to a new scene), The new Will take the focus of the singleton and play the video, but after being unmounted, the older mounted will not be able to take the role back, and will need to be re-mounted.
:-(
dev-reactjs commented
Any solution for this?