I have to double tap on mobile (iOS)
Hey,
I'm using React-Player on my website to play songs from soundcloud and youtube. On desktop the player works amazing.
However, on mobile (iOS) the first time I press the play button for a song it works but then when I go to press play for another song - it requires me to press it twice.
Is there any way to get past this issue?
Here is a link to my site: http://rockwiththis-staging.com
Here is the code for my player:

Me too
Same here
I've noticed that when the Player is rendered every element on the page requires a double tap on iOS safari. Seems intermittent unfortunately.
Looks like this only happens for me when the controls prop is true
Edit: adding the light prop along with controls seems to fix my issue ¯\_(ツ)_/¯
It sounds like each player simply needs user interaction, which is a common problem with media on iOS. I don't know if there's anything this library can do about this.
I've noticed that when the Player is rendered every element on the page requires a double tap on iOS safari. Seems intermittent unfortunately.
Every element on the page? This stinks of a problem with the iOS browser rather than the library.
Unfortunately I don't know what can be done about this so I'll close it off for now. If anyone can reduce this down to a specific thing that ReactPlayer is doing wrong, feel free to reopen with more details.
This actually happens to me as well, on macOS Sonoma and "react-player": "^2.14.1". I tried the suggested workarounds from above, but they don't seem to help. Any ideas @cookpete ?