How can I play video on Android?

Hi all,

I know this question has been asked many times, but none of them I found doesn’t have any solution. That made me wonder if it’s possible to play video on Android? If so, how can I do that?

I tried playing the video on RawImage with VideoPlayer component, but it didn’t work.

Check the documentation for VideoPlayer for information on how to properly use it. It should work on a RenderTexture and you can point your rawimage at the RenderTexture: Unity - Scripting API: VideoPlayer

1 Like

It looks like I missed the details about it.

Android:
Requirements: 5.0+ See here

The project was set the minimum of 4.4. I set it to 5.0 and test it on a proper phone. It worked.

1 Like