360 video player -how to stream video from url ?
Hello , i'm trying to build a 360 video player that could use video from an url i tried the demo scene from google vr , but couldn't change url. Anyone know a way to do? thanks !
Answer by treylok · Mar 12, 2017 at 06:08 PM
Hi @jpsailor, I have been trying to figure this out too. I was able to find where the URL is located in the demo file, so I will try to explain how to change it with the steps below. I do not know much about Unity, so forgive me if I don't use the right jargon.
1)The video location is not in the script anywhere, but in the unity 3d scene.
2)In Unity, under the project Hierarchy window, there are a bunch off assets.
3)Look for 'obbVideoSample', 'panoVideoSample', and 'dashVideoSample'.
4)If you click the arrow next to those and then click the first item underneath it, there is a "Video URL" attribute where you can change the video URL.
5)Change that and you should get whatever video you want.