inukshuk / jquery.tube.js

jQuery plugin for accessing YouTube's player and data APIs
http://inukshuk.github.com/jquery.tube.js/
MIT License
35 stars 8 forks source link

Android compatibility #3

Closed mirluin closed 10 years ago

mirluin commented 10 years ago

I've tested the demo on a Galaxy Nexus and a Galaxy S4 Active but videos selected from the playlist doesn't start. The correct name of the video (and link to Youtube) appears inside the iframe.

inukshuk commented 10 years ago

IIRC the autostart option is prohibited on some devices (phones and tablets) for security reasons; i.e., if you select a video from the playlist it is loaded into the associated player, but it does not start playing automatically. Is that what you're experiencing? At least at the time when I wrote the code this was an intentional limitation of the API so there's nothing you can do (just click on the player to start playback).

Or did you experience another problem? I just verified that the demo works on a Nexus S with CM11 and the default browser — that's the only Android device I have readily available at the moment.

mirluin commented 10 years ago

I was expecting that the player does not start playing automatically but the problem is that it also does not display the preview image and the play button, so I can't make the video start.

inukshuk commented 10 years ago

Is there any chance you can debug the issue? Like I said, I've only a CM11 Android available at the moment and the demo works fine there.

mirluin commented 10 years ago

This is odd. During debugging videos work like a charm. Deactivating the debugging mode, unplugging the USB cable and after a browser refresh the problem is back.