Is it allowed to use the vimeo API to search and download videos from vimeo?
Can you download all type of videos or only a particular category?
If I would like to download all video, do I need a special approval from them (or special account) to be able to do so?
Edit: I would like to know if it's possibile using the current API
Downloading source files through the API is only available under three conditions.
You are the owner of the video
You have a PRO account
You are the owner of the API App.
Related
I want to access direct links to videos of my users. they have PRO or above. also, the access token of each user includes the video_files scope but I still not able to see the download and files fields of their videos.
I have now a PRO account and my users have Pro too.
How do I fix the issue, please? I bought a Pro account only for that.
It's not possible. You can only get the direct file links and download metadata for videos on your own account.
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.
If your videos are set to public you can hit the endpoint...
https://player.vimeo.com/video/{your_video_id}/config.
This will return a json. In the nested field request > files > progressive, you will have objects that contains streaming urls.
There is also dash and hls streaming formats under the files node, but not sure if all players will support those formats.
I would like to access my own videos through Vimeo API and to download low and high definition versions that Vimeo encoded.
I have a Premium account on Vimeo.
I didn't find it in their doc :(
Is there a way? I would like to avoid encoding videos myself in different sizes...
Thanks!
First off, you'll need to be a Vimeo PRO member to get the direct video file URLs.
Using the latest API, do an authenticated GET https://api.vimeo.com/videos/[clip_id]. In the response you'll see an attribute named files that contain the HD, SD, and mobile transcodes that Vimeo generates. These URLs are meant for use with other video players (JWPlayer, or simply with the <video> tag, for example).
If you want to get the URLs to use for downloading (providing a download link on your site, for example) do the same authenticated GET https://api.vimeo.com/videos/[clip_id] to find the download attribute in the response. These URLs expire, and with them you'll see an expires attribute with the date and time.
Note that to get the download URLs, not only must you be authenticated as the clip owner, the API app itself must also be created by the clip owner.
I have a website that has a web page with a html5 video-tag, and the user can supply a URL, and it will play in the video-tag.
The webpage uses JavaScript commands that control the video-tag - for instance, it can pause the video, move to a different point in the video, etc.
It works fine with the cloud. Videos stored on Microsoft Azure can be used, for instance (Azure gives you a way to get a URL to any video on your cloud storage, and streams it too).
However, I have users that store videos on Google-drive, and also on Microsoft One-Drive.
From what I can see, I can play these videos, but only in a page (probably with Google's own player in it) on their site.
It seems that there is no way to get a URL to these videos that I can put in a video tag.
Without the ability to do that, I can't use the javascript commands that work with the html5 video-tag.
Is there any workaround?
Or am I missing something?
Thanks.
For playing videos that are stored in google-drive using your app:
you need oauth2 credentials to access the user's drive, but assuming you have the oauth part covered :
you can create a drive application as a google appengine app and deploy it in a part of your website.
enable the drive-sdk and set the open-url to your website (that you have verified)
-> basically this tells drive to redirect towards your website whenever the user clicks on the video (from his drive)
when drive redirects to your website a json file will be sent, you'll have informations such as fileId from there i think you can execute the method files().get() to retrieve the necessary information for you to play the video
I advise you to take a look at this course in codeschool.
We have a web based system that we are looking at replacing our existing "help system" from uploading flash videos directly to our website to instead "embedding" content we upload to our vimeo account. We have setup a vimeo pro account and these videos need to be "private" i.e. not accessible to the general public. Which API version should I use? And do you have any sample code in say PHP I could take a peek at with the functionality we are after
The Advanced and Simple API's will no longer receive new features, and soon you will not be able to create new apps for them.
Vimeo has moved towards a unified API, which you can read about at http://developer.vimeo.com/api. Make sure to use the api through api.vimeo.com, not vimeo.com/api/rest/v2.
Vimeo has an official PHP library, with some very basic examples that you can see at http://github.com/vimeo/vimeo.php