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 !
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.
-
The video location is not in the script anywhere, but in the unity 3d scene.
-
In Unity, under the project Hierarchy window, there are a bunch off assets.
-
Look for ‘obbVideoSample’, ‘panoVideoSample’, and ‘dashVideoSample’.
-
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.
-
Change that and you should get whatever video you want.
Hey, I am trying to do the same process but not using pre-built scenes in Unity. I want to stream my 360 video hosted on any web browser like Vimeo or unity project. can anyone help me?