We currently host our videos with a Vimeo PRO account. Our users have accounts on our site in which we embed the standard Vimeo player. We are working with customers who for security/privacy reasons block both youtube and vimeo.
Is it possible to continue hosting our videos via Vimeo, but to embed them using an alias of sorts. (e.g. media.mydomain.com points to our vimeo videos)
You need to use a CDN, which will act as sort of a reverse proxy (man in the middle some would say) , and will allow you to place your CNAME certificates in its configuration. If you directly use a CNAME for player.vimeo.com then you'll get an HTTPS error as vimeo's certificate don't include your CNAME.
Related
Can I use Vimeo in my web application to record a video from my laptop which is connected to a camcorder ? Camcorder exposes JAVA API's which supports START / STOP / Zoom-in and all other camera options.
Vimeo was not created to record a video. It's just a video hosting platform similar to youtube but for professionals.
You need to be doing the recording and then use either their interface or their API to upload a video.
In your case, you could imagine creating an intermediate application that connects to your Camcorder's exposed API, gets the recorded video, and uploads it using Vimeo's API.
Here is an official list of libraries and sdk's that Vimeo proposes to simplify the API usage.
using the api against /videos/ID I get a bunch of links, select the corret format and them i'm good to play on my own website.
But it's slow, i'm not on USA and it's slow for my customers.
(I'm a vimeo PRO subscriber)
Recently, checking a similar website, I've noticed that their urls are generates like
https://13-lvl3-pdl.vimeocdn.com/01/1924/4/....
And mine are generated like
https://fpdl.vimeocdn.com/vimeo-prod-skyfire-std-us/01/4067/6/...
The first one, that i could not discover how to get on my own videos, is really faster and lower latency.
Any light on this would be very appreciated.
These urls are dynamically generated on the server. There is no programatic way that you can change which CDN url you receive.
Please reach out to vimeo.com so they can dig more into why it performs so slowly for you.
After upload and process video by vimeo it generates HD,SD and HLS links.
Sometime speed depends on many factors like hosting environment, player used for stream videos,Internet bandwidth etc etc.
So first check following things:
1) Are you using third party player for stream your videos?
2) Are you using HLS video link for stream video?
3) What is your hosting environment in terms of server response time?
Some Suggestion to achieve better video streamming:
1) Get best Hosting plan which has better server response time.
2) Use vimeo default player for stream videos.
3) If you are using third party player than use HLS vimeo generated link with Third party HLS player.
Some HLS player links
http://www.hlsplayer.net/
http://osmfhls.kutu.ru/
http://www.flashls.org/latest/examples/chromeless/
http://dailymotion.github.io/hls.js/demo/
http://www.dash-player.com/demo/hls/
You can absolutely select which CDN you can load your videos from. Vimeo uses three CDNs and you can set a cookie that will indicate to the player which cdn to use. Check out this link: https://player.vimeo.com/flags
Here you can select the cdn and it sets the cookie I was mentioning. You can set this cookie for your users on your website and the video will be fetched from that cdn.
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.
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.