Vimeo embed issue on iPhone
Asked Answered
B

3

6

Here is my dilemma:

I am creating a site that will allow users to submit videos that will be posted to the site. The user submits a Vimeo link and the video gets posted in an embedded format to the site. Unless the creator of the video has a PRO or PLUS Vimeo account, embedded vimeo videos do not work on iPhone 3GS (not sure about iPhone 4, but they do work on iPad).

Is there any sort of workaround to get embedded vimeo videos working on iPhone? Any ideas?

enter image description here

Edit: I have checked and it does work on iPhone 4. But still not 3GS.

Embed Code

<iframe src="http://player.vimeo.com/video/<?php echo $videos[$i]; ?>?title=0&amp;byline=0&amp;portrait=0&amp;color=ffff00" width="" height="" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen ></iframe>
Berck answered 30/1, 2012 at 20:44 Comment(1)
I got the same problem with iPhone3G and 3GS. It seems to work on iPhone 4 and 4S and all iPads. Is there anybody who knows a solution to this?Scorpaenid
S
1

I found a solution, by registrate a plus account you can generate a mobile version. Works with all iPhone models.

Scorpaenid answered 6/2, 2012 at 10:43 Comment(1)
The problem is that I am having users submit videos. If that user is not a vimeo plus member, their video doesn't show up on mobile.Berck
F
0

Well with out any code it's hard to tell, are you embeding the video via iframe?

http://vimeo.com/api/docs/player

Fawnia answered 30/1, 2012 at 21:58 Comment(1)
Yes I am using iframes. Here is my embed code: <iframe src="http://player.vimeo.com/video/<?php echo $videos[$i]; ?>?title=0&amp;byline=0&amp;portrait=0&amp;color=ffff00" width="" height="" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen ></iframe>Berck
B
0

I'm dealing with this same issue right now. My best guess is that the Vimeo videos are encoded in H.264 main profile, whereas the 3GS can only play videos encoded in H.264 baseline profile.

This article has a discussion of the differences:

http://www.niallkennedy.com/blog/2010/07/h264-video.html

It looks like there is probably not an easy way around this issue. As you indicated, all videos play fine in the iPhone 4 and 4S since they support H.264 main profile.

Boughten answered 24/2, 2012 at 4:12 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.