Using HTML5 Video
In order to deliver video to all devices (Desktop, mobile, tablet), that is not served from a 3rd party like Youtube or Vimeo, we need to use the HTML5 <video> element.
The trouble is, Firefox and Safari/Chrome don’t quite agree when it comes to the file format for videos. In order to deliver video to Firefox 4+, Safari4+, Chome11+ and IE9+, we need 2 video formats (.mp4 and .ogg) and 2 video players (HTML5 and Flash).
.mp4
This makes Safari/Chrome happy (iOS devices as well). Make sure it’s encoded using H.246, which is the important part.
.ogg
This makes Firefox Happy, but only if the file is served by the server with the “video/ogg” mime type, which is not usually a part of the standard configuration. Add the mime type to .htaccess for this.
Video Players (HTML5 Video, Flash)
Not all browsers support HTML 5 video, of course. To compensate, I use “Flowplayer“, a fallback Flash version, that uses the .mp4 encoded file. The Flash player is used for all browsers that don’t recognize the <video> element.
The final problem is that we can’t just use .mp4 for the iOS devices and fall back to Flash for Firefox, because Firefox understands the video element, looks for a src it can read and just sits if it doesn’t find one. It won’t use the fallback.
Solution
- Make one version that uses Theora video and Vorbis audio in an Ogg container.
- Make another version that uses H.264 baseline video and AAC “low complexity” audio in an MP4 container. (This version will also work in the Flash Player for IE and older browsers.)
Create the .ogg version
- Use ffmpeg2theora (it’s a command line encoder) to convert the video.
- My command was as follows:
ffmpeg2theora -v 7 --soft-target -V 2500 -x 1024 -y 432 -a 5 /Users/ben/Trailer.mov
(Just type ffmpeg2theora at the command line for help with the params)
Create the .mp4 version
- Use Handbrake with the “Apple > Universal” preset. The iPad has certain limitations about what type of video settings should be used. See also this article at stackoverflow.
- Change the extension .mp4 (It’s exactly the same internals as .m4v, but for some reason it’s the standard extension) More here.
- Check the “Web optimized” checkbox under “Output Settings” just below.
- Process the video.
HTML
I’m using Video for Everybody and videojs to format the HTML5 player with a Flash (Flowplayer) fallback.

Learning a ton from these neat articles.
I’ll be recommending 여성전용 마사지 to every friend I know.
작은 피로도 놓치지 않는 섬세한 관리,
토닥이에서 차원이 다른 케어를
만나보세요. 지금 이용해보세요.
I never imagined one visit could make such a difference — I
feel completely recharged. I highly recommend 토닥이!
If you value care, professionalism, and true relaxation,
토닥이 is the answer.
어깨도, 마음도 가벼워진 부산토닥이.
If you’re searching for a top-tier women-only
massage in Gangnam, 강남여성전용마사지 is the answer.
오랜만에 저를 위한 시간을 가졌고 인천토닥이는 완벽했어요.
피곤하다는 말이 입에 붙어 살던 요즘, 부산여성전용마사지가 제게 필요한 쉼표였어요.
Fabulous, what a weblog it is! This website provides valuable information to
us, keep it up.
Feel free to visit my webpage: youtube ti mp3
I didn’t expect a massage to make me feel so emotionally refreshed,
but 강남여성전용마사지 did just that.
I am really inspired together with your writing abilities as neatly as
with the format in your weblog. Is this a paid subject matter or did you modify it yourself?
Anyway keep up the excellent quality writing, it’s rare to see a great blog like this one these days..
id=”firstHeading” class=”firstHeading mw-first-heading”>Search results
Нelp
English
Tools
Tools
move to sidebar hide
Actions
Ԍeneral
my homepɑge – ana88 (Christen)