How to put a direct download link at my website for My YouTube channel videos - youtube

At my website, I am using the thumbnails of the videos listed at my YouTube channel. So the users of my website can click on the thumbnails and video start download automatically from YouTube channel. I tried many softwares and copied their download link and put to my website but after sometime the link didn't worked at all, may be because YouTube change some parameters in the URL.
So is there any way to offer one click direct download from YouTube, or any other like Vimeo, dailymotion,etc. I tried already the vimeo and I am able to get the direct download but the same problem as the url doesn't work after sometime on other ip, so my users are not able to download and they redirect to vimeo website.
I will appreciate if you could help me.

With YouTube it's absolutely not possible via the official API. There are certain third-party scripts in existence that may be able to download videos off YouTube anyways (cf. e.g. this SO question) but be advised that this is against the YouTube terms of service and thus illegal.
With Vimeo it's a little bit different, to my understanding. Video owners can opt to allow users to download their videos, but I think this is only through the player. Vimeo won't provide you with a download link, with this exception.
This is not what these services were designed for anyways. They are social media platforms, not video hosters.

Related

How can I play video from YouTube channel in Decentraland?

There is sample code to play video in Decentraland. This link
However, I want to play video from a playlist in YouTube channel. Is there any sample code you can reefer me?
Unfortunately you cannot directly access any Youtube videos due to a CORS policy set on their side. This is not an issue with Decentraland itself, but rather with Youtube and other content providers that have a similar CORS policy.
Youtube and Twitch (for example) have their own javascript players that not only display ads but also gather information about the viewer. Seeing as this is the basis of their income, they do not want people bypassing this and just viewing the video for "free".
You may notice that youtube videos work in CryptoVoxel for some reason. This is due to some trickery that the game is doing, where it is loading in the html/js and placing the video on-top of the game itself. (At least that is what I've heard)
In the meantime I strongly suggest you look into hosting your videos on another platform like Vimeo. You can directly access the video files if you pay for their service. Alternatively, you can host your videos on an Antmedia server through a cloud hosting service like Digital Ocean. Both of these are great options.

Is there any way to view a youtube live stream WITHOUT being on youtube?

I am on my school PC and tried to watch a stream. It didnt work because it was restricted. I tested this with different ones and they were all resricted.
Try logging out of your school account. You can also look for things in the YouTube API, or embed the youtube video in another site.

Is there any way to get direct video download link from YouTube and which work on another devices for long time?

Is there any way to get direct video download link from YouTube and which work on another devices for long time? I tried a lot of third parties softwares to generate the direct download links but after a short time these links dead. May be YouTube changes some parameters in the direct download url. I am trying this for my own channel, to offer direct download for my videos from YouTube at my website, so I need direct download links for each video.
One of the benefits of YouTube Red is the ability to download videos for up to 30 days on supported devices. This is the only official way I am aware of to download videos offline. According to the YouTube Developer Policy, you are not allowed to make content available for offline playback, so I would be cautious of these third party services.
One solution would be to upload the video to YouTube for normal online playback, and upload a copy of the video file somewhere else (ex. Google Drive or on your website) so that users can download from this alternate location.

How do I use YouTube API to upload private videos for a product that will be sold?

So I have a video product that I am about to start selling. Once people pay, they will be able to download the videos, or ideally stream it via YouTube.
But...I don't want them to be able to share the link with every Tom, Dick and Harry.
I know that an unlisted video can still be made public, so that won't work for me. But apparently there can be 'private videos' too.
Where can I learn more about this in the API docs? Or what is the best way to approach this? Especially given that I don't want them to have to have a Google+ account.
Ideally, they should be able to login to my app, and watch the embedded videos there. But they should not be able to share the direct YouTube link.
I know they can always share their account info, that's fine...I will do other things to keep track of and monitor that. It's really the anonymous sharing of the YouTube link I am worried about.
Thanks.
Read the API terms of service and check with your legal folks. Specifically, you will want to make sure that your sale of private content uploaded to YouTube is in compliance with #2 in the Terms of Service:
You agree not to use the YouTube API for any of the following
commercial uses unless You obtain YouTube's prior written approval:
the sale of the YouTube API, API Data, YouTube audiovisual content or
related services, or access to any of the foregoing;

Downloading Videos from YouTube - Terms & Conditions

I am a bit confused about the YouTube API's term & conditions. If I create an app for users to download only their own videos. Is that against the terms and conditions?
I know downloading other people content is definitely prohibited, but is it the same for your own videos? Since user can go to their video manager and download their own videosm this would be only a short-cut?
Anyone knows can/cannot do this? I was thinking of using this library http://ytdownloadextension.codeplex.com/
Any guidance would be appreciated,
Covo
Seems like YouTube already allows you to do that, so I'd say it's legal:
Download your videos
You can’t download other people’s YouTube videos, but ...
You can download MP4 files of videos that you’ve uploaded to YouTube in either 720p or 360p, depending on the video size.
See Download videos that you've uploaded.
I don't think so the Terms of Service of Youtube or the Terms of Service of the API allows you to do so:
Excerpt of Youtube ToS (5. K):
you agree not to access Content or any reason other than your personal, non-commercial use solely as intended through and permitted by the normal functionality of the Service, and solely for Streaming. "Streaming" means a contemporaneous digital transmission of the material by YouTube via the Internet to a user operated Internet enabled device in such a manner that the data is intended for real-time viewing and not intended to be downloaded (either permanently or temporarily), copied, stored, or redistributed by the user.
Excerpt of the API ToS (II. 11):
store copies of YouTube audiovisual content;
Both, state in a very clear way that neither the user nor applications built using the API can "store" content, which is a very direct statement that disallows you from giving such an option in your app. Now, whether Youtube does give its users an interface to download their content or not is an argument out of sequence here as Youtube don't need to follow their own ToS, in other words, it's up to them to give their users such an option, but you can't give it to the users of your app.
I suppose you need a special permission from Youtube to give such an option in your app.
Yes. You can definitely download your own videos from YouTube as it is your own content so you have full rights to it as the creator of the videos.

Resources