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

Avoid double click when autoplay isn't available #4

Open
hteumeuleu opened this issue Jul 14, 2014 · 0 comments
Open

Avoid double click when autoplay isn't available #4

hteumeuleu opened this issue Jul 14, 2014 · 0 comments

Comments

@hteumeuleu
Copy link
Owner

When a user clicks on the static video link, it replaces the thumbnail with the real video player. In order to prevent a second click to launch the video, I added an autoplay=1 parameter in the iframe src. But for some services (like FunnyOrDie.com) or on certain devices (like on Android or iOS), autoplay doesn't work, thus forcing the user to click a second time (once the player is fully loaded) to effectively play the video.

I need to find a way to force the video to play, or to change the UI so the user understands that the video won't play right away.

@hteumeuleu hteumeuleu changed the title Avoir double click when autoplay isn't available Avoid double click when autoplay isn't available Jul 14, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant