Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requires 2 clicks/taps on Android Chrome/Kiwi Browser #23

Closed
geekysrm opened this issue Nov 2, 2020 · 1 comment
Closed

Requires 2 clicks/taps on Android Chrome/Kiwi Browser #23

geekysrm opened this issue Nov 2, 2020 · 1 comment

Comments

@geekysrm
Copy link

geekysrm commented Nov 2, 2020

Using this requires 2 taps to play on Android Chrome browser and Kiwi browser(fork of Chrome).

@justinribeiro
Copy link
Owner

This is an side effect of the autoplay policy on mobile which prevents the flag from automatically playing the video after the first tap. This component (or any component really) can't directly control this affect.

To reduce this, you can use the autoload attr which will trigger the intersection observer to inject+load, reducing the interaction to one tap.

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

No branches or pull requests

2 participants