Skip to content

Fix video playback on mobile browsers - #37

Merged
kenrussell merged 1 commit into
WebGLSamples:masterfrom
brianpeiris:patch-1
May 5, 2021
Merged

kenrussell merged 1 commit into
WebGLSamples:masterfrom
brianpeiris:patch-1

Conversation

@brianpeiris

Copy link
Copy Markdown
Contributor

Chrome on Android does not accept "touchstart" as a user gesture, so video.play() throws an error.

Chrome on Android does not accept "touchstart" as a user gesture, so `video.play()` throws an error.

@kenrussell kenrussell left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@kenrussell
kenrussell merged commit 164f302 into WebGLSamples:master May 5, 2021
@brianpeiris

Copy link
Copy Markdown
Contributor Author

Oh, hi Ken. Thanks for the merge :)

@kenrussell

Copy link
Copy Markdown
Member

Hi Brian! :)

phemavax pushed a commit to phemavax/WebGLSamples.github.io that referenced this pull request Jul 5, 2024
Chrome on Android does not accept "touchstart" as a user gesture, so `video.play()` throws an error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants