问题
(Using Wordpress plugins and Vimeo API)
I have had a bespoke Wordpress plugin built and am struggling now with one capability.
I have paid for a Pro Vimeo account so that I have better privacy options, but I need to have the videos viewable and most importantly DOWNLOADABLE on my client's website.
I am sure this was possible before, but after three software developers have tried and mostly not managed to complete my job briefs, I am left pretty desperately on how to finish this key functionality.
When I try to download the videos straight from the website, it won't let me and takes me to a blank page. The only way to fix it is to make my Vimeo profile and videos public on Vimeo however, it is vital that they are private on there.
I would be SO GRATEFUL if someone could help me.
回答1:
You need to use the API to retrieve file download links for your videos.
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.
来源:https://stackoverflow.com/questions/53988884/how-can-i-have-private-videos-on-a-private-pro-vimeo-profile-viewable-and-down