且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在我的网站上观看和下载可下载的私人视频(在Pro Vimeo私人配置文件中)?

更新时间:2022-12-07 07:36:49

您需要使用API​​来检索视频的文件下载链接.

You need to use the API to retrieve file download links for your videos.

> https://api.vimeo.com/videos/[video_id]发送经过身份验证的请求] 使用范围为video_files的令牌.响应中是一个数组"download",它将包含视频文件元数据,包括下载链接,以及这些链接的到期时间.

Make an authenticated request to https://api.vimeo.com/videos/[video_id] using a token with the video_files scope. In the response is an array "download" that will contain video file metadata, including download links, and the expiration time of those links.