8000 Have to click twice to play on touch devices · Issue #8 · Daugilas/lazyYT · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Have to click twice to play on touch devices #8

New issue

Have a question about this project? Sign up for a free GitHub 8000 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

Open
emwee opened this issue Oct 13, 2015 · 1 comment
Open

Have to click twice to play on touch devices #8

emwee opened this issue Oct 13, 2015 · 1 comment

Comments

@emwee
Copy link
emwee commented Oct 13, 2015

With touch enabled I need to click twice to play the video.

On http://www.newmediacampaigns.com/blog/lazyytjs-a-jquery-plugin-to-lazy-load-youtube-videos I read "Apple prohibits video elements from autoplaying, which is causing the double click issue on iOS." but I can reproduce this on every touch device.

Is there a workaround for this?

@Daugilas
Copy link
Owner
Daugilas commented Mar 6, 2016

I have created a branch addressing this issue "autoplay_on_mobile".

Here I tried to include YT js API and Play video via code after it loads an iframe (47bd3d0). Unfortunately it worked only on an old Android phone with native browser. iPhone tests failed and Chrome on Android also fialed...

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
0