Skip to main content
September 30, 2018

Load video from oculus go file

Hi
I'm trying to dynamic load one 360 video from a specific folder by videoplayer component file, it works on android device but I couldn't make it work on oculus go

Thanks for your time and response
here the code:

        VideoPlayer vp = gameObject.AddComponent<VideoPlayer>();
        url = "file:///mnt/sdcard/Apregon/VR_Kiosk-Movie.mp4";
        vp.url = url;
        vp.renderMode = VideoRenderMode.MaterialOverride;
        vp.targetMaterialRenderer = GetComponent<Renderer>();
        vp.targetMaterialProperty = "_MainTex";
        vp.Play ();
This topic has been closed for replies.

2 replies

April 20, 2019
Dear @ubach , did you ever got this working? Did you figure out the correct URL path for oculus go?

Any help appreciated :smile:
April 22, 2019
I am fairly sure the storage location on the Go is different than normal android devices.  You will most likely have to change your URL to correspond to the storage location of the Go.