risingPhoenix1979
risingPhoenix1979

Reputation: 1164

HTML5 <video> Element Won't Work on Android

I'm building a mobile site and haven't been able to get a HTML5 video element to work on my Samsung Galaxy S with Android 2.2.

The embedded video element at http://mediaelementjs.com/ DOES work.

However, the video element I created at http://mattjennings.net/zzz/video-test/test.php DOESN'T work. As you can see I'm also using code from Media Element JS Listed above.

I've spent hours trying to solve this problem including converting the test.mp4 file in my example link above to an "Android ready format" with Videora Android Converter.

Upvotes: 0

Views: 2443

Answers (3)

risingPhoenix1979
risingPhoenix1979

Reputation: 1164

I ended up using HandBrake (https://handbrake.fr/), which is free and open source software, to create MP4 files for a website that could play on my Samsung Galaxy S3 phone that runs Android 2.2.

I also used code from http://www.mediaelementjs.com/ to make this work.

Upvotes: 0

paripurna
paripurna

Reputation: 135

Please go through the below url it may help you

The Android browser (before 2.3) requires specific handling to run the video element.

Upvotes: 0

paripurna
paripurna

Reputation: 135

are you trying to paly in video in emulator or in device. If it is not playing in the emulator it is the problem of video resolution. Best to try video of low resolution. I have gone through same problem.

Upvotes: 1

Related Questions