0 votes

Hi

I found that the VideoPlayer node works when running the scene on a laptop i.e. the scene loads and plays a .ogv video correctly. Installing and running the scene on a mobile device, however, failed to run the video i.e. the video did not appear though the other nodes in the scene functioned correctly.

Does the VideoPlayer node work on mobile devices?

in Engine by (92 points)

I just copied a little OGV-File from this site: http://techslides.com/sample-webm-ogg-and-mp4-video-files-for-html5 in my GLES2 project (Godot 3.1). That worked on Android.

I propose that you also try it out with that sample file.

Did you try it with 3.0.6 or 3.1?

Also, compatibility with video codecs may depend on the Android version of the device.
See here:
https://developer.android.com/guide/topics/media/media-formats

You may be better off using WEBM (VP8 or VP9 (Android 4.4+)) compression for the videos when targeting Android. Simply try it out I'd say.

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.