Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums may be revoked at the discretion of Oculus staff.

Load video from oculus go file

ubachubach Posts: 3
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 ();


  • TheSwanCollectiveTheSwanCollective Posts: 13
    Dear @ubach , did you ever got this working? Did you figure out the correct URL path for oculus go?

    Any help appreciated :smile:
  • JacksonGordonJacksonGordon Posts: 138
    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.
Sign In or Register to comment.