Friday, January 6, 2012

[YouTube-API] Javascript API on iPad (iOS)

Hello,

I'm new to the group and I'm having some trouble finding the answers I'm looking for.

I've been using what I've learned in the YouTube JavaScript API documentation to stop and start video playback using text links.  I've had plenty of success with this, but it doesn't appear to be working when testing my code in the iPad.  I'm pretty good at figuring things out, but since mobile Safari does allow me to look at source code, I've not been able to discover how an embedded YouTube player works on an iPad.  I'm left to assume that either YouTube converts normal embed code into HTML5 (video tag) when on mobile Safari or it's somehow using the build in YouTube app to play in the browser.  I've tried using an app to show me the mobile Safari source code, but it only displays compile-time code.  I need to see it at run-time.

I've not found anything on the internet about the YouTube JavaScript API and iPad, and the documentation I found does not discuss iPad at all.  All of the searches I found are related to creating apps for the iPad, which I am not interested in doing.

So, I'm stumped.  I just want to know how I can control the YouTube player using JavaScript in mobile Safari.  If anyone hear can shed some light on this, I would greatly appreciate it.

Thanks!

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To view this discussion on the web visit https://groups.google.com/d/msg/youtube-api-gdata/-/qbafPw0r0lMJ.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.

No comments:

Post a Comment