问题
I'm trying to use the Vimeo API to pull a list of all the videos for a user who's videos are public, but the information in the JSON that's being returned doesn't include the element "files" under each entry and which should contain the link to the videos in various formats. What's going on here?
As a side question, I just posted a question yesterday with the exact same question above regarding the API and a Vimeo staff member just informed me that "Vimeo" doesn't support the "Vimeo API". So disregarding the obvious irony there, who is it that creates and supports the Vimeo API? A third party that has been contracted/outsourced?
回答1:
The "files" field only shows up on videos for PRO members who request their own videos. You must be authenticated as the owner of the video. If your goal is to play these videos, you should use OEmbed to request our embed iframe.
As for support, I am the Senior API Developer at Vimeo and personally handle the majority of API support cases. Can you please let me know where you previously posted your question? If it was in the forums, those are left over from a previous time and are not supported. We will soon move everyone to our Google Group.
All API support has moved to Email for private conversations, Google Groups for public conversations, and here on Stack Overflow for programming help.
来源:https://stackoverflow.com/questions/23139372/api-3-link-to-video-not-showing