Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is OGG really necessary for HTML5 video full compatibility?

I'm preparing a webpage with a video. I'd like to make it compatible with a wide range of devices, so I inserted a HTML5 <video> tag with a Flash Player fall-back (FLV video file) for incompatible browsers (mostly Internet Explorer < 9).

For the HTML5 video I converted my video in MP4/H.264 and in WebM/VP8. According to Wikipedia, H.264 is used by:

  • Internet Explorer
  • Google Chrome
  • Safari (iOS+Desktop)
  • Android browser

While VP8 is compatible with:

  • Firefox
  • Opera
  • (again) Chrome and Android

It seems that everything is covered (talking about today's last versions of the browsers), with the Flash fall-back for older ones.

Can I skip the OGG version of the video, considering that MP4 + WebM seem to be enough?

like image 760
flip79 Avatar asked Nov 14 '22 01:11

flip79


1 Answers

h246 covers smartphones and h264 stakeholder browsers (big bad corporations).

WebM covers Firefox and Opera (independent free browsers).

h264 should be the preferred (first) choice, because smartphones may be able to decode WebM, but they usually hardware accelerate only h264.

All browsers which do Theora (ogg) should be also be able to do WebM nowadays. There is no reason to encode videos in Theora anymore.

like image 180
Mikko Ohtamaa Avatar answered Mar 16 '23 07:03

Mikko Ohtamaa