I'm wondering if it's possible to display a YouTube video set to "Share Privately" on a site by rendering it on the server using the Google credentials (email address) assigned in the video's private sharing section.
The thought being if I have a large organization reviewing private videos uploaded to YouTube, I'd rather not add the various email address to the private share settings on each video if I could instead handle inter-organizational auth via protected site and render the video via SSR on those pages. No need to worry about an unlisted video leaking outside of the organization, but also no need to manually add different email addresses to each private video shared internally.
Is something like this possible or does the fact that it's embedded in an iframe negate any server side authentication that would allow viewing the video?
Related
i tried to automate video upload to my YouTube channel using YouTube data API v3, everything works perfectly except that the videos are uploaded as private and locked that way.
i know it is a restriction by design and the scope verification requires privacy policy page and a domain which i don't own as an individual. Making it internal is not an option neither, since it requires organization and google workspace.
how can a normal user be able to automate uploads using youtube data API.
I want to upload an unlisted video in the YouTube using YouTube Data V3 API. Only users in our domain should be able to upload videos.
I have done following:
Created a Google Cloud Platform project and enabled YouTube API
Created OAuth2 credential for INTERNAL use.
Since it's an 'internal' use credential, we don't need to verify our App and there is no option to verify the App.
We used this credential to upload an Unlisted video to YouTube. It uploaded the video to YouTube successfully but created a Private video and not an Unlisted video.
The reason given to us is that you cannot upload an Unlisted or a Public video from an unverified App. But since it's an Internal App for our domain, there is no option to verify the App. Hence I believe we should be able to upload a Public or an Unlisted video from Internal App.
Please let us know if there is any way we can make this work.
Many thanks for looking into this.
We used this credential to upload an Unlisted video to YouTube. It uploaded the video to YouTube successfully but created a Private video and not an Unlisted video.
All videos uploaded by unverified apps are set private until the app has been verified then you will be able to set them to unlisted.
The thing is you have set your project to internal only which means that only those within your Gsuite domain should be able to see these videos. I dont understand why you would need them to be set unlisted.
Considering the following definitions:
Private means only those you invite to view the video can view it
Unlisted means your video will not come up in search results or on your channel either. Only those who know the link can view it. Its still Public.
Again considering that only verified apps can create public videos I hope this explains why you cant set them Unlisted. If you really want them set unlisted instead of just private for the domain. You will have to go though the long verification process.
I need to develop an application which can embed videos or lives, only for certain users.
Those videos/lives should be hosted on Vimeo.
Question is if Vimeo API supports embedding private videos through an Authorization Flow, without letting the users sign in to Vimeo from my app.
In essence, my backend should have a token which can access to those private videos and embed them only if users meet the requirements.
Does Vimeo API allows something like that? If yes, what would be the correct procedure?
I couldn't find anything like that in their docs, at least with no oAuth2 procedure.
The Vimeo Help Center has an answer for you: https://vimeo.zendesk.com/hc/en-us/articles/360042878091-Custom-video-privacy-overriding-privacy-settings-using-the-API
The API can toggle a video’s privacy settings, but it cannot be used
to allow video playback outside of the privacy settings we provide.
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.
The video privacy settings that can be assigned using the API are described here: https://vimeo.zendesk.com/hc/en-us/articles/224817847-Privacy-settings-overview
We're working on an integration with youtube channels (using Youtube Data Api v3). We need to access the videos (private also) on our user's channels.
The flow is the following:
User authorizes his/her youtube account on our site using OAuth.
We show user the list of videos on user's youtube channel.
User selects some of them (they can be private) and sends us for processing.
We need to somehow access the actual video files which the user asks us to process.
The issue is that youtube does not give any streaming URLs or download links.
Looks like, the API provides only iframe embedded code, which works ONLY for the browser, where the user is actually logged into youtube.
How can we access(can we?!) the private video, if we have the OAuth access-token of the video owner?
The YouTube Data API lets you incorporate functions normally executed on the YouTube website into your own website or application. The lists below identify the different types of resources that you can retrieve using the API. The API also supports methods to insert, update, or delete many of these resources. This in a sense means that you can see most of what you can see on the YouTube website including uploading new videos.
Downloading Youtube videos is against their Terms of Service, so the API does not support that.
Page linked above refers to Youtube ToS that states:
You shall not download any Content unless you see a “download” or similar link displayed by YouTube on the Service for that Content.
YouTube partners may have access to this feature in their API (no idea i have never seen the api), if you have access to this i suggest you contact your manager directly they should be able to instruct you on how to access it assuming the feature exists.
I'm working on an app that uploads private videos to Youtube to be viewed by everyone at our organization. Luckily, Google and Youtube have an awesome company-wide permission for this, which allows for anyone with an email address within the company to view these videos.
Youtube has 3 options for video privacy status: Public, Unlisted and Private. I'd usually just go with Unlisted and call it a day, but due to the nature of these videos, I'd prefer for them to Private, then manually grant access to the video and share it with everyone at the organization. When done through the Youtube Video Manager page, here is the dialog box I'm looking for an API endpoint for:
Manual Approach
We can go through each video and check this box in each video, but that's not something that scales well. I'd love to find documentation on a Youtube API endpoint that handles this. There's a clear status.privacyStatus attribute for videos that can be set to private, public or unlisted, but nothing for this.
Does anyone know of a Youtube API andpoint to control this permission for private videos on Youtube?
I can back up the assumption from my comment that private video sharing is not possible through the Data API v3 with this article I found on the topic.
The author of the article even provides a workaround to this problem, although I strongly discourage using it, since it requires parsing sensitive account information (password) in PHP. Apart from that, the code is from 2010 and will most likely not work anymore because it is from before YouTube channels were linked to Google+ pages.