- Home /
Is it possible to download a youtube video from unity
Is it possible to download a youtube video from unity using www?
According to some websites youtube videos are usually in these formats: 240p would normally be FLV, the others would normally be MPEG-4 on the standard player, or WebM if you're using the HTML5 player.
These plugins might be able to play the file on a texture if it could be downloaded.
Scaleform unity plugin might be able to play an flv in theory, but I haven't got an answer from the scaleform forum.
It looks like this plugin could play the mp4 file on a texture. http://www.predictions-software.com/Unity3D_mov_mp4.html
Answer by Montraydavis · Oct 29, 2012 at 09:40 AM
In retrospect . . . No . . . In other words, it "can be done", but, there is no official support for downloading YouTube videos. YouTube video downloading softwares are created by individual users. Perhaps obtain a public source code, and then integrate that into Unity? ( I don't know that there are any, but maybe there is an API somewhere. Try searching )
I'm not sure
Answer by GerardAllan · Jun 11, 2013 at 12:09 PM
Hi, I have been asked lots of times for this and have eventually got round to doing it. The problem is you need a use a YouTube Player, to meet the Terms and Conditions of you tube.
See http://www.predictions-software.com/Unity_iOS_YouTube.html
Regards
Gerard.
Answer by kelvinparkour · Jul 19, 2014 at 07:24 PM
that plugin is the answer o/ https://www.assetstore.unity3d.com/en/#!/content/19138
You can access the link of the video, this plugin generate the video link for you.
Answer by Liamhuang · Dec 01, 2020 at 11:27 AM
I didn't try any plugin. I make it using Joyoshare Screen Recorder I installed before. But it is more like a "recorder" than a "downloader", having customizable bitrate, quality, resolution, etc.