Forum Discussion
Anonymous
7 years agoLoad 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 ();
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 ();
2 Replies
Replies have been turned off for this discussion
- AnonymousDear @ubach , did you ever got this working? Did you figure out the correct URL path for oculus go?Any help appreciated :smile:
- AnonymousI 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.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 6 years ago
- 1 year ago
- 1 year ago
- 22 days ago
- 1 year ago