Creating Video with Private Link via API - vimeo

I'm scoping out a project with the Vimeo API in which a user uploads a protected video.
I see the API allows for uploading a video with a password via privacy.view.
However, Vimeo also has the ability to upload a video that's only sharable with a private link. I'm not seeing a reference in the API that indicates it's possible to create this via the API. Basically, a user would upload a private video and the API returns the "private link" for that video.
I was hoping someone with more expertise might be able to confirm.

Related

can i embed a private file of google drive api on my website? (the file has read permission of domain the my website)

the file has read permissions for my domain
but when embedding the file on my google website
reject the embed
code of iframe
<iframe src="https://drive.google.com/file/d/172YjAlA4ZtXzaaHGXORRX-687k78Rsra/preview" width="640" height="480">
I appreciate any help, and if you ask me why I want to show a private file on my website, it is because there is a login through which I only let my users enter
YOu can not embed a private google drive on your website because in order to access that drive a user would need to have permission to it.
You are probably using the webContentLink as the link you are trying to display there is also no way to send authorization in the form of an access token along with this link. THe user themself must have access to the file to be able to download it.
You could try creating a sharable link manually on the Google Drive website and use that link you can set that link to be valid for anyone with the link. But this will be a manual thing as far as i know you can not create these types of links though the website.

Vimeo - Can access token be used to control access to private videos

This has been asked before but there is no definitive or clear answer, so I'm asking again.
I would like to embed vimeo videos on my own website, and enable playing those videos only to specific subscribed users only.
Is it possible to control the access? In a way of requesting a session token for a specific 'video play' and initialize the player with that token?
Looking through the developer docs, OAuth authentication and access tokens are mostly in relation with performing actions on the vimeo accout (upload, list, etc).
Does the vimeo player integration support API access control?
No.
The Vimeo API can only toggle a video's privacy settings, the API cannot grant playback to users outside of the privacy settings provided by Vimeo.
For example, the API can be used to set a video as password-protected and to set the video's password, however the API cannot be used to authenticate and bypass password protection and allow playback.
The privacy settings valid for a video's privacy.view and privacy.embed preferences are documented here: https://developer.vimeo.com/api/reference/videos#edit_video
An overview of video privacy settings on Vimeo can be found here: https://vimeo.zendesk.com/hc/en-us/articles/224817847-Privacy-settings-overview

Embed private google slides publicly with access token

I want to create a website where users can see private google slides after logging in into my website. I will have the access token for the account which holds the ownership of those private files.
What I want to do is display the private files to my website users after they log in.
Right now I can display the private files by downloading them via an API and display it in a custom pdf viewer with pdf.js but I want to know is if there is any way to display private presentations with Google's embedded viewer maybe with some type of token (I don't want to force the user to sign in to their Google account. Also, note that I have an access token for those files).

Single User Application with Private Videos, Circumvent Password

We have a Vimeo Plus account with a large set of private, password protected videos and are building an internal application which will access a selection of these videos. So in this scenario we own the videos and the application which will access the videos. We would like to be able to embed and play the videos without entering the videos' password. Currently we are not able to find a way to achieve this using the API, is this possible?
the Vimeo API can only toggle your video's privacy settings, the API cannot grant playback to users outside of the privacy settings already provided. For example, you can use the API to set a video as password-protected and set the video's password, however you cannot use the API to authenticate and bypass password protection and allow playback.
Hope this helps!

getting videos in google drive (and Microsoft onedrive) to show in a video tag?

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.