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

User must physically interact with a video on mobile before the api will work. #44

Open
GoogleCodeExporter opened this issue Feb 2, 2016 · 6 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Load the simple demo 
https://dl.dropboxusercontent.com/u/11833872/stupil_prototype/youtube_iframe_tub
ular.html
2. Verify that the video can't be played.

What is the expected output? What do you see instead?
The video should display a play button and be pressed by the end user. Instead 
we see a black background.

What version of the product are you using? On what operating system?
Android 2.2+, iOS 4+

Please provide any additional information below.
This fix eliminates autoplay on desktop in exchange for having a working 
youtube video on mobile. The play, pause, and seekto features may still be used 
once the video has been interacted with by a user.

Original issue reported on code.google.com by b...@stupil.com on 23 Aug 2013 at 4:46

Attachments:

@GoogleCodeExporter
Copy link
Author

A fix to maintain the desktop features would be to check for mobile phones 
first and set a flag once the user has interacted with the video. The flag 
could be checked before the api calls would be allowed.

Original comment by b...@stupil.com on 23 Aug 2013 at 4:49

@GoogleCodeExporter
Copy link
Author

This patch isn't working on Nexus 7 (2013) Android 4.3~

Original comment by alex.va...@gmail.com on 5 Oct 2013 at 7:03

@GoogleCodeExporter
Copy link
Author

Can you expand on why/how it isn't working please?

Original comment by b...@stupil.com on 7 Oct 2013 at 2:05

@GoogleCodeExporter
Copy link
Author

demo shows short miniature, then black screen on ios 7.02

Original comment by nickrate...@gmail.com on 11 Oct 2013 at 11:25

@GoogleCodeExporter
Copy link
Author

Could you please explain how add patch?

Original comment by am...@brainstormforce.com on 3 Jun 2014 at 3:58

@GoogleCodeExporter
Copy link
Author

Can't get it to work on Android.

Original comment by sh...@simchony.com on 25 Sep 2014 at 12:47

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