Play You tube video in unity through url

Is it possible to download and play Youtube video in unity3d through url?
If yes how?

10 Answers

10

Yes, it is possible. But only support for ios currently and it is direct stream, without download the video. See ✖ I am a Programmer™ ✖: iYoutube Unity iOS Plugin

This still works very well even today! :)

Here: Unity Asset Store - The Best Assets for Game Making

And

I have the same issue. How would using a sphere solve this? Wouldn't using a sphere just give you a spherical collider with the same problem?

http://search.unity3d.com/uss1/?q=youtube&app=answers

Doesn't have any other manner to do this?

Hi,

For anyone looking for this functionality we have launched a Unity Plugin on the asset store for playing YouTube videos natively on iOS AND Android.

Hopefully this helps out anyone looking!

Let us know if there are any additional features required.

Does it place the youtube video's audio into an Audio source friend? :)

Looks like this is no longer available.

Items on this link are no longer available.

Here you can watch a desktop solution for texturing youtube in Unity.
It uses ffmpeg. The package is not available on unity asset store .

You can try this site downloads your youtube video just put this URL on search box https://mp3ns.com/

No this doesnt help at all. Im on Windows 10 and shouldnt have to literally go to youtube.com to watch a video in Unity3d asset store

Is it possible to add that for HTML5 without stepping on a CORS-type problem?
Thanks for the great support already at everyone - can’t be said enough!

Yes, but you need to host some php files, these php act like a proxy and you can play the video in webgl (only normal video, not livestreams).

it’s 2020 and I still need answers… thank you.