I have my own video player with in my app and want to play in it if I can get a video url. Is it possible with Vimeo API?
In my app I will allow users to search for videos and play it on my media player on mobile.
API requests authenticated as a PRO user will have access to that users video files. This includes the transcoded files and an HLS link. You can find these urls in the video representation, returned by many different api calls. Specifically under the files
key, you will find an array containing the url and additional metadata. Make sure to pick your video based on the resolution, and not the quality, because the quality can have duplicate
The most relevant api call is GET https://api.vimeo.com/me/videos
, because this will return a list of all videos owned by the authenticated user (which happen to be the only videos with available video files).
Video files are not available for basic or Plus users, and are not available for users beyond the one making the request. For those videos you should use the embed codes we provide in the API request (under the key response.embed.html
, or through oEmbed.