I have a list of Vimeo private video urls (https://player.vimeo.com/video/1234567890), which I'd like to display as thumbnails on my page.
I can't find a working way to do it.
Any solutions based on http://vimeo.com/api/v2/video/{id} are long dead.
And something like this https://i.vimeocdn.com/video/1234567890.jpg would return the wrong image.
Is there a way to get an image thumbnail url based on video id without authorization ?
UPDATE
In my case, I manged to get the thumbnail_url by querying
GET https://vimeo.com/api/oembed.json?url=https://player.vimeo.com/video/{id}
oEmbed can be used to get a video's thumbnail links, depending on the video's privacy settings.
First off, oEmbed will only return metadata when the video has embed privacy set to "Embed Anywhere" or "Only on site I choose". A video with its embed privacy to "Embed Nowhere" will return 403.
Videos with these viewing privacy settings will return "full" metadata (including thumbnail links):
Anyone
Only people with the private link (must use the complete video url)
Hide this video from vimeo.com
Videos with these viewing privacy settings will only return the embed code:
Only people I follow
Only people I choose
Only people with a password
oEmbed documentation can be found here: https://developer.vimeo.com/apis/oembed
I just found the solution for getting the Meta Data from Vimeo, with private videos. You can see the solution here:
VIMEO not consistently returning video title, duration or thumbnail url : REMOTE HEADER?
Related
Looking for a way to obtain a thumbnail image of a Vimeo video WITHOUT (I repeat, WITHOUT) having to do a REST request to the Vimeo API?
(Unfortunately, the following "answer" is over 10 years old and does NOT answer this question: Get img thumbnails from Vimeo?)
Nearly all video providers allow you to obtain a thumbnail image of a video by simply supplying the video ID within a specific URL path (i.e.: YouTube, Matterport, iGuide, etc.)
To be clear - I am NOT looking for a "solution" that uses Javascript or requires a request to be made to the Vimeo API - just a specific URL that can return a thumbnail given a Vimeo video ID.
I also emailed Vimeo API support, and below is the "official" response I received from their support group:
Hi there,
Thanks for your interest in the Vimeo API! Full documentation of the
Vimeo API can be found on our Developer Site:
https://developer.vimeo.com/api/guides/start
Sorry, but it's not possible to get a video's thumbnail links without
first making a request to one of our APIs (oEmbed or our full-fledged
REST API). You can learn about these APIs here:
https://developer.vimeo.com/api/oembed/videos
https://developer.vimeo.com/api/guides/start
So - no way to get a thumbnail of a Vimeo video without making a REST request. Too bad.
Update: 2-Oct-2021
See #Parthiban post - Vimeo has updated their service / documentation:
https://developer.vimeo.com/api/oembed/videos
You can use the Vimeo oEmbed method, which gives a JSON response with the video's basic meta-information including thumbnails. Which doesn't require an authentication method like Vimeo API.
More details in the official documentation here: https://developer.vimeo.com/api/oembed/videos
Check out https://vumbnail.com/
You can simply pass in the id of the video in the url and it will respond with the thumbnail image.
https://vumbnail.com/358629078.jpg
You can also request certain sizes as per the documentation. This appears to be made by a third party so I can't say whether it is well supported and reliable but it appears to do what it claims to do as of the time that I'm writing this answer. Best of luck.
Vimeo states: "Hide this video from Vimeo" will make the video unable to be accessed on the Vimeo website (unless you are logged in as yourself), but it still can be embedded on other websites. Your video can be added to albums and portfolios, but no other types of collections."
In the Vimeo settings, with 'Hide from Vimeo' selected, there is also a checkbox titled 'What can people do with your videos?' I have 'Download them' selected.
So, as far as I am aware, the Vimeo videos should be able to be embedded on my client's website, 'hidden on Vimeo' yet still 'downloadable' from my client's website.
This is not the case. We can not download from the client's website unless the Vimeo settings are set to 'Public,'
Vimeo actually inhibits the download functionality when privacy settings "Who can watch your videos?" are set to anything other than "Anyone." So you have to have public videos on Vimeo which defeats the object of paying for PRO.
The scenario: My client has sensitive videos which they use Vimeo to host (privately). These videos are streamed to private client pages on the Wordpress website using a bespoke plugin. Only the people with access to the private client area on the website should have access to these videos and they must be private everywhere else on the web. BUT, they must be downloadable from the client area.
Please help! We have spent two months developing a bespoke WordPress plugin and now this error is occurring.
We are using Vimeo PRO.
Thank you!
The "download" option in the video's settings refer to the Download button that appears on the video page at vimeo.com/[video_id]. That download setting has no bearing on its ability to be downloaded using the download link; the download link should work anywhere its served, provided that the link has not expired.
See the "Download videos" Help Center article here: https://vimeo.zendesk.com/hc/en-us/articles/229678128-Downloading-videos
There are only two supported methods to serve a download link on your website:
Use the Vimeo API to retrieve the download link from Vimeo:
https://stackoverflow.com/a/54009156/3704546
Get the download links from the video's distribution settings page:
https://help.vimeo.com/hc/en-us/articles/224823567-Third-party-player-links
These are the only supported methods to get download links; if you're using another method to get download links, the links may expire or break at any time.
I am planning to use Vimeo for hosting my educational video series which I want to restrict specific videos to specific user as per what plan / course they have purchased.
After lots of googling, I came across one option in Vimeo to set "domain-level embed privacy" so that only from my site video will be played.
But what if someone inspect webpage and change video url which is private?
Vimeo forum relevent link : https://vimeo.com/forums/api/topic:277888
"If you want to keep your video's privacy set to domain-level embed privacy, one workaround is to embed the video on a domain you control, and then embed that page in your Android webapp."
is there any way to handle this as if someone tried many url changes then he can see video from my website even if I have set them private and domain level security.
In near future, I want to use same in my android app as well so that logged in user can see videos they allowed.
Thanks in advance.
Can someone guide me for this usecase?
But what if someone inspects the webpage and changes the video url which is
private?
If someone inspects the webpage and changes the video url then the change will be local to their system and temporary. As they refresh page it will revert back to original. No website on earth can stop this from happening.
is there any way to handle this as if someone tried many url changes
then he can see video from my website even if I have set them private
and domain level security.
Domain level security as far as I understand means that you can embed video on a website on a particular domain only such as - yourdomain.com. Changing the url of embedded video will not load any video as video is hosted on provided url only.
In near future, I want to use same in my android app as well so that
logged in user can see videos they allowed.
In an android app you can load your page in a webview or inappbrowser. And on a website you can make certain pages accessible to authenticated user only. On top of that you can also implement record level security, so that a particular course is accessible only to people with subscription to that course.
I'd like to know whether there's a way to directly embed a vimeo video into a website or whether there's a way to get a stable link to the MP4 file.
E.g. this page: http://www.landfunker.de/ktv/detail.php?rubric=93&nr=86411. The video is only launched when accessing it from that page. In the source code, I see links like
fpdl.vimeocdn.com/vimeo-prod-skyfire-std-us/01/3026/7/190133161/631209312.mp4?token=587a20e2_0xece9d9d127813f2b792edb30032d4d9b0a7c484f
However, the tokens expire, right. Any tips? Any workarounds.thx
Use the Vimeo iframe embed code to embed videos on your site:
https://help.vimeo.com/hc/en-us/sections/203874347-Embedding-Videos
https://developer.vimeo.com/apis/oembed
To get the MP4 links for video files, you'll need to be a Vimeo PRO or Business member. Video file links are returned in the individual video's response from the API.
GET https://api.vimeo.com/videos/[video_id]
You can use the API's JSON fields filter to only return the video file links:
GET https://api.vimeo.com/videos/[video_id]?fields=files
Finally, note that you can only retrieve the video file links for videos on your own PRO or Business account. Vimeo does not provide a way to retrieve the video file links for videos on other user accounts.
API documentation can be found here: https://developer.vimeo.com/api/start
You can definitely embed a Vimeo video into a website - Vimeo provides instructions on their website:
To get your video's embed code, go to its video page and click the Share button. Then click the +Show options link that appears above the embed code field to reveal a preview of your embedded video with the Basic customization options. Once you've made your adjustments, you can copy the embed code and paste it wherever you'd like to embed your video.
They also provide an API based embed approach using oEmbed. There is a JavaSCript example using this here:
https://github.com/vimeo/vimeo-oembed-examples/blob/master/oembed/js-example.html
This basically calls the API with the URL of the video to embed and the response includes HTML which you append to your page.
I have private videos on Vimeo and need to know if it is possible to use Vimeo's API to display them in my web app.
When my user accesses my web app, I want display my private videos without the user logging on to Vimeo.
Is it possible?
Yes it it possible. As far as I know, you have to white list the domains you want to include your videos. I do not have a paid vimeo account, but I have embedded private videos at a website.
The API documentation for vimeo is at Vimeo API. It is actually not that bad.
To get the meta data for a certain video you can use following link (replace <id> with the video id):
https://vimeo.com/api/oembed.json?url=https%3A//vimeo.com/<id>
This can be usefull if you want to cache certain meta data at your backend side.