You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On mobile devices, playing media with mediaElement.play() needs explicit user interaction.
On Android, playing media on swipe event works.
On the other side on iOS, it does not work with following error.
Unhandled Promise Rejection: NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.
The text was updated successfully, but these errors were encountered:
orange4glace
changed the title
swipe event can't allow playing audio on iOS
swipe event does not allow playing audio on iOS
Aug 4, 2021
On mobile devices, playing media with
mediaElement.play()
needs explicit user interaction.On Android, playing media on
swipe
event works.On the other side on iOS, it does not work with following error.
Unhandled Promise Rejection: NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.
The text was updated successfully, but these errors were encountered: