crazyyy/jquery-tubular

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

Opened this issue · 6 comments

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:

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

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

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

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

demo shows short miniature, then black screen on ios 7.02

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

Could you please explain how add patch?

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

Can't get it to work on Android.

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