3

是否可以使用 UIButton 而不是使用 UIWebView 在 iOS 应用程序中嵌入 Vimeo 视频?

我的想法是单击 UIButton 在应用程序内播放 Vimeo 视频,而无需启动 Safari。

4

2 回答 2

2

Is it possible to start a video by click of a UIButton - yes.

Is it possible to embed a video in UIButton - no. Video still needs to be hosted within a UIWebView.

Hosting UIWebView in an app is not the same as starting Safari. UIWebView is a part of your app, Safari is a whole another app. You have complete control over what's going on inside a UIWebView.

于 2012-06-15T21:19:11.243 回答
1

商店里有一个 Vimeo 应用程序,还有一个 API 和 Vimeo.com 上的文档。上次我检查第三方无法并允许将剪辑直接嵌入应用程序中,因为他们无权访问 Vimeos 内容交付网络上的 mp4 文件。

但是 Vimeo 本身就是这样做的,所以如果您知道自己在做什么,您可以想出监控 Vimeos 应用程序网络流量并逆向工程他们如何访问 mp4 的想法。但在你这样做之前,你最好联系他们的支持。

于 2012-06-16T00:33:00.350 回答