Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Hiro_Protag0nist's avatar
10 years ago

Video In A Gear VR App

Hello all. Could somebody please point me to the documentation which will show me how to add video footage to a Unity scene for a Gear VR build?

I just want video to be playing on a loop in my scene. I believe we can't use movieTexture in Android?

Thanks.

3 Replies

Replies have been turned off for this discussion
  • You're right, MovieTexture isn't usable on Android. We've provided a sample plugin that uses a MediaSurface and hardware H.264 decoder to show video on a textured quad in Unity. Have a look at the MoviePlayerSample scene from our SDK Examples: https://developer.oculus.com/downloads/ ... _Examples/
  • "vrdaveb" wrote:
    You're right, MovieTexture isn't usable on Android. We've provided a sample plugin that uses a MediaSurface and hardware H.264 decoder to show video on a textured quad in Unity. Have a look at the MoviePlayerSample scene from our SDK Examples: https://developer.oculus.com/downloads/ ... _Examples/



    Will do, thanks.

    I've also been pointed towards Easy Movie Texture in the asset store which i may look at.
  • You could probably steam it in using the WWW class if you have it hosted somewhere on the web.