Vimeo Embeds Question on iPhone

Here is my dilemma:

I am creating a site that will allow users to post videos to be posted on the site. The user sends a Vimeo link and the video is published in an embedded format to the site. If the video creator does not have a PRO or PLUS Vimeo account, the built-in vimeo videos do not work on the iPhone 3GS (they are not sure about the iPhone 4, but they work on the iPad).

Is there any workaround for vimeo embedded videos running on iPhone? Any ideas?

enter image description here

Edit: I checked and it works 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> 
+6
source share
3 answers

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

+1
source

Well, without any code that is hard to say, do you embed the video through an iframe?

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

0
source

I am dealing with the same problem right now. It’s best to assume that Vimeo videos are encoded in the main H.264 profile, while 3GS can only play videos encoded in the base H.264 profile.

This article discusses the differences:

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

It seems that around this problem is not so simple. As you indicated, all videos play perfectly on the iPhone 4 and 4S, as they support the main H.264 profile.

0
source

Source: https://habr.com/ru/post/907263/


All Articles