.play() doesn't work on IOS devices
OlegZavrazhin opened this issue · 1 comments
OlegZavrazhin commented
I'm trying to use your package to init and play youtube videos.
However, unfortunately, I have found an issue - .play() method doesn't work on IOS mobile devices.
Plz, see sample - https://93xqv1vzxy.codesandbox.io/
It has been tested on iPhone 5s (12.0.1 - 16A404) and in the Xcode simulator (iPhone XS Max and iPhone 8 Plus) - browsers Safari and Chrome (70.0.3538.75)
feross commented
Are you ensuring that you're calling play()
in response to a user-initiated event, like a click or touch event?