Yesterday got a enquiry from a client to build a portal similar to LMS(Learning Management System) for uploading and watching videos.
Features:
Admin can upload the videos
Registered Users who have valid subscription can view these videos on the portal and not directly at Youtube or Vimeo
My Question:
Can Youtube or Vimeo be used for hosting these videos?
Videos should be accessible only from the portal and not be listed in Youtube or Viemo public directory.
Does Youtube or Viemo have some paid/premium plan for this?
I can't speak on behalf of YouTube, but I can answer your question as it relates to Vimeo. I'd also assume that the same holds true for YouTube.
You can check out this link which shows the Vimeo video privacy options. But you could easily prevent people from seeing it on Vimeo if you use password or people I choose.
Then through the Vimeo api you could use the admin's Vimeo account credentials to request the videos specifically if your users have a valid subscription. If you use the admin Vimeo account client id and secret then you can request all the video's on that account (if it's a PRO account).
To clarify, requesting videos for the currently authenticated account through the API requires a Pro membership. Setting the privacy does not require PRO (at least not all of them do).
Yes. According to this documentation, when uploading (or updating) a video in YouTube, you can specify access controls for that video. You can indicate whether a video can be listed in YouTube search results or displayed in any other way unless the user has a URL that links directly to the video. The permission for this setting will be denied if the video is either unlisted or private. If you set the value to denied for a public video, then that video will become an unlisted video.
Here's an example from GitHub that uses statuses such as "public", "private" and "unlisted".
Does Youtube or Vimeo have some paid/premium plan for this?
Yes, Vimeo Plus plan would be enough.
Videos should be accessible only from the portal and not be listed in
Youtube or Viemo public directory.
Go to settings -> videos -> upload defaults
For privacy select 'Hide from vimeo.com'
And where it asks 'Where can your videos be embedded?' Enter your site domain (to prevet other sites from emddeing your video).
Now you can upload your videos and embed them to your site.
Can Youtube or Vimeo be used for hosting these videos?
Vimeo would be a good fit for your requirements, YouTube not so much the best privacy setting for a video would be 'unlisted' so videos won't be appearing in search results they can be played directly on YouTube.
Related
We have a CMS system and users can upload their videos directly to their YouTube channel via YouTube API.
The consent screen of the YouTube API app has been reviewed and released by YouTube, but the uploaded videos are still automatically blocked.
Is there a way to find out why?
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
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.
to let other users record and upload videos to my youtube playlist i used Youtube Directe Lite, the probleme is the videos are uploaded to user's account instead of my account.
did i missed any configuration?
No, it's what YT Direct Lite is for. But then you can moderate all those submitted videos on http://ytdirectlite.appspot.com/static-min/admin.html
Once you accept the videos, they will appear on your playlist, but at the end videos will actually be hosted on the uploader's account.
YouTube strongly recommends to let your users to upload to their account, rather than letting them upload any video to your channel.
Given specific video id (not owned by me), how can i get list of assets claimed in that video? I can do that via https://cms.youtube.com/manual_claim, but is there a way to do this via youtube partner api?
There is no way to check other people's ownership or management rights on a video or channel. YouTube deliberately avoids that. There is claimSearch->list method in Partner API but with that you can only search "your" claims.