The company I work for produces a lot of video and we want to target as many devices as possible, but the question came up of what does the Android do?
I personally own an Android based phone running 2.1, but I can't seem to get the HTML 5 tag to work. Even when I can trigger the browser to playback the video it just throws a notification error that it can't.
Are there guidelines to producing Android/HTML 5 compatible videos? Is it truly supported?
The HTML5 video format capabilities include three options to play: MP4, WebM, and Ogg.
The MP4, WebM, and Ogg formats are supported by HTML. The MP4 format is recommended by YouTube. MPEG.
MP4 Video Format: The MP4 video format is developed by the Moving Pictures Expert Group. The other name for MP4 video format is MPEG-4. It is supported by all browsers and used in video cameras and TV Hardware.
HTML5 is a markup language used for structuring and presenting content on the World Wide Web. It is the fifth and final major HTML version that is a World Wide Web Consortium (W3C) recommendation. The current specification is known as the HTML Living Standard.
The android 2.1 browser currently does not support the html5 video tag the way the iphone browser does. To get the android browser to play the video when you click on the poster image you need to add onclick="this.play();"
to the video
tag. However, this launches a separate "window" and does not play the video in the same browser "window".
The only information I could find with details about whether Android 2.1 has the ability to play html5-video is here: http://groups.google.com/group/android-developers/browse_thread/thread/400dc61d41530242/c071c0f9712f7171?lnk=gst&q=html5#c071c0f9712f7171
This question is similar: Does html5 video work on android nexus one with android version 2.1?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With