iPhone 上的 Vimeo 嵌入问题

发布于 2025-01-01 00:30:18 字数 667 浏览 1 评论 0原文

这是我的困境:

我正在创建一个网站,允许用户提交将发布到该网站的视频。用户提交 Vimeo 链接,视频就会以嵌入格式发布到网站。除非视频的创建者拥有 PRO 或 PLUS Vimeo 帐户,否则嵌入的 vimeo 视频无法在 iPhone 3GS 上运行(不确定 iPhone 4 是否如此,但它们可以在 iPad 上运行)。

有什么解决方法可以让嵌入的 vimeo 视频在 iPhone 上运行吗?有什么想法吗?

在此处输入图像描述

编辑:我已经检查过,它确实可以在 iPhone 4 上运行。但仍然不能在 3GS 上运行。

嵌入代码

<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>

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&byline=0&portrait=0&color=ffff00" width="" height="" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen ></iframe>

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

最笨的告白 2025-01-08 00:30:18

我找到了解决办法,注册一个plus账号就可以生成手机版本。适用于所有 iPhone 型号。

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

凉宸 2025-01-08 00:30:18

好吧,没有任何代码很难判断,你是通过 iframe 嵌入视频吗?

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

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

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

朱染 2025-01-08 00:30:18

我现在正在处理同样的问题。我最好的猜测是,Vimeo 视频以 H.264 主配置文件编码,而 3GS 只能播放以 H.264 基线配置文件编码的视频。

本文讨论了这些差异:

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

看起来可能没有一个简单的方法来解决这个问题。正如您所指出的,所有视频在 iPhone 4 和 4S 中都可以正常播放,因为它们支持 H.264 主要配置文件。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文