Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

webm not playing on Android

Tags:

android

I was under the impression that webm played on Android, but I can't get the videos to play on my Galaxy Nexus. I haven't tried in the browser on the phone, just straight up and in the VideoView. Is there some magic combo of settings needed?

like image 905
Kevin Galligan Avatar asked Jul 06 '12 01:07

Kevin Galligan


People also ask

Why is WebM not playing?

However, WebM is far less compatible than H. 264 on various devices and platforms. Therefore, chances are that the WebM video won't play on iOS, Android, Chrome, Safari browsers, etc., or unresponsive playback or freezes.

Is WebM supported on mobile?

The YouTube HTML5 Player uses WebM files to stream videos. Since it also works in later versions of Android, WebM is popular among mobile-device users.

Does VLC Android support WebM?

A WEBM file is most likely a compressed video file found online. Since WebM is such a popular video format online, many programs will open it, like Google Chrome, Microsoft Edge, and VLC Media Player.


2 Answers

Yes, webm plays on android just fine. However, know that HTML5 video is always tricky.

The best way to check is to simply load a webm file in your browser: http://clips.vorwaerts-gmbh.de/big_buck_bunny.webm

There a number of reasons why the video may not be playing for you including:

  • The webm file may not have been encoded correctly
  • You are using a video playing application that does not handle webm files
  • Data integrity was lost when transferring it to your phone
  • There may be an issue with the current build of your OS (although if you are 2.2 or later there really shouldn't be)

Play around with an html5 video generator to see which video formats are playing on your phone (webm and mp4 should) http://sandbox.thewikies.com/vfe-generator/

like image 91
Ben Eggett Avatar answered Sep 28 '22 05:09

Ben Eggett


I did run in the same bug/problem while developing on my nexus4 (on huawei y300 and y303 phone it worked fine!). Switching to NuPlayer in the developer options fixed this. Apparently the deprecated AwesomePlayer can't play webm in my case.

Nexus 4 Android version 5.1

It's also talked about here: https://github.com/Floens/Clover/issues/2

like image 26
Leo Nawroth Avatar answered Sep 28 '22 05:09

Leo Nawroth