1

I'm using a LAMP stack with CodeIgniter to "power" a site. I'm trying to find a way to stream/embed a video that's hosted on Vimeo but without revealing the vimeo source of the file. My purpose is to restrict access to certain users. Is this even possible?

4

1 回答 1

0

找到了我自己可能的答案,但我还没有接受我自己的答案,以防万一有人有更好的主意。

显然,我通过 PHP/CodeIgniter 限制访问 Vimeo 视频 URL 的想法是不可行的。但是,Vimeo 为 Plus 和 PRO 帐户提供了限制对视频的访问权限的功能,因此它们只能嵌入到一组特定的域中。这是他们论坛上更全面的讨论:http: //vimeo.com/forums/api/topic :31238

他们还提供 oEmbed 和其他 API: https ://developer.vimeo.com/apis

因此,实际上,我可以通过以下方式实现我的目标:

  1. 将视频限制为只能嵌入到我的域中
  2. 使用我自己的访问限制将视频嵌入 CodeIgniter。

这似乎会阻止用户仅输入 vimeo 视频 url 并绕过我的访问控制。

于 2013-04-03T17:03:50.153 回答