Possible to play YouTube videos? (On PC and on a surface in 3D)

Is it possible to stream a YouTube video URL in Unity in 3D, say on a wall surface within the world? I’ve seen solutions that work on iOS and I’ve seen some that work as a flat UI, but we’re interested to project the video onto a flat object within the 3D world and on PCs (SteamVR/ Vive, specifically). Thanks!

Does it also show the good value when you Debug.Log: playerScript.orientation instead of playerInstance.GetComponent<Player>().orientation

2 Answers

2

Sadly, Steaming Youtube videos through URL’s are only supported for IOS, but there is a way to play downloaded videos. Here is a link on how to add videos to unity, but not stream them:


And here is a link to downloading youtube videos through URL if you want a video from Youtube to play:
http://www.listentoyoutube.com

If you need help downloading videos, just let me know.

Thank you!

A unity vr game called Soundboxing appears to be able to do it. Would love to know how.

Edit: I just discovered that it utilises 3 external applications:

bump......