Vimeo API 用于私人视频
Vimeo API for private videos
我需要开发一个可以嵌入视频或生活的应用程序,仅供特定用户使用。
那些 videos/lives 应该托管在 Vimeo 上。
问题是 Vimeo API 是否支持通过授权流程嵌入私人视频,而不让用户从我的应用程序登录 Vimeo。
本质上,我的后端应该有一个令牌,只有当用户满足要求时,才能访问那些私人视频并嵌入它们。
Vimeo API 允许这样的事情吗?如果是,正确的程序是什么?
我在他们的文档中找不到类似的东西,至少没有 oAuth2 程序。
Vimeo 帮助中心为您解答:https://vimeo.zendesk.com/hc/en-us/articles/360042878091-Custom-video-privacy-overriding-privacy-settings-using-the-API
The API can toggle a video’s privacy settings, but it cannot be used
to allow video playback outside of the privacy settings we provide.
For example, you can use the API to set a video as password-protected
and set the video's password, however, you cannot use the API to
authenticate and bypass password protection and allow playback.
此处描述了可以使用 API 分配的视频隐私设置:https://vimeo.zendesk.com/hc/en-us/articles/224817847-Privacy-settings-overview
我需要开发一个可以嵌入视频或生活的应用程序,仅供特定用户使用。 那些 videos/lives 应该托管在 Vimeo 上。 问题是 Vimeo API 是否支持通过授权流程嵌入私人视频,而不让用户从我的应用程序登录 Vimeo。
本质上,我的后端应该有一个令牌,只有当用户满足要求时,才能访问那些私人视频并嵌入它们。
Vimeo API 允许这样的事情吗?如果是,正确的程序是什么? 我在他们的文档中找不到类似的东西,至少没有 oAuth2 程序。
Vimeo 帮助中心为您解答:https://vimeo.zendesk.com/hc/en-us/articles/360042878091-Custom-video-privacy-overriding-privacy-settings-using-the-API
The API can toggle a video’s privacy settings, but it cannot be used to allow video playback outside of the privacy settings we provide. For example, you can use the API to set a video as password-protected and set the video's password, however, you cannot use the API to authenticate and bypass password protection and allow playback.
此处描述了可以使用 API 分配的视频隐私设置:https://vimeo.zendesk.com/hc/en-us/articles/224817847-Privacy-settings-overview