Wednesday, January 18, 2012

[YouTube-API] Playback from time offset on iOS devices?

Hello World:

I would dearly love to be able to playback YouTube videos from a
specific time offset using the iFrame player on iOS. I have been
unsuccessful in doing so, thus losing the respect of my seven year old
son. He complains that he's getting teased on the schoolyard because
of his dad's shortcomings.

Here's the HTML I'm using:

<html>
<body style="background-color: rgba(0,0,0, .95);">
<center>
<iframe title="YouTube Video Player" width="90%" height="90%"
src="http://www.youtube.com/embed/1p-TV4jaCMk?
feature=player_embedded#t=24s
" frameborder="0" allowfullscreen></
iframe>
</center>
</body>
</html>

If the Flash player ends up being used (as is the case when loading on
Safari for Mac, for example), playback from time offset works just
dandy. If I load the same HTML on an iOS device, it doesn't work.

I've also tried using <object> instead embed technique, which, again,
works fine on the desktop with the Flash player, but not on an iOS
device. With either the iFrame or using an <object>, ultimately, it's
the Apple authored YouTube player which is doing the playback, so
perhaps this is Apple's issue, and I'm hosed.

If by chance there is some magic invocation I'm missing, and there is
a way to achieve playback from offset (ideally with automatic
playback), I would be a very happy man.

Any help greatly appreciated.

Best,

John

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
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