1
votes

I'm developing a site where users can upload their videos. I'm trying to go the "best practices" route and support playing back these videos using the <video> element, however it seems that there is an immense storage overhead associated with this.

I've read the video portion of "Diving in to HTML5" (along with other web resources), and it seems that in order to ensure cross-platform playback, one has to store the video in several formats:

  1. Ogg (Firefox 3.5+, Opera 10.5+ & all Chrome versions before 6.0)
  2. WebM (Firefox 4+, Opera 10.6+, Chrome 6.0+, not essential because all browsers that support it also support Ogg, but better than Ogg because of hardware acceleration support)
  3. MP4 (Safari 3.0+, Internet Explorer 9, (and mobile devices which I plan on creating apps for if the site is moderately successful, so we'll leave those out))
  4. Flash (all versions of browsers with lower numbers than above)

I'm curious about the number of sites that actually do this. That's a lot of storage overhead (imo), especially when the topic of storing the video in different qualities comes in to play. I'm thinking of just supporting WebM and Flash, but that would leave a sizeable portion of users under the impression that my site doesn't support "HTML5 video", when it reality it does.

Does anyone have suggestions on how many formats I should support? All? Some (which)? Just flash?

1
Depending on your targeted audience, most users want know the difference. I would try to support at least some mobile devices (depending on your audience)Lime
@Lime: I don't blindly hand out accepted answers. If you take a look at my question history, the ones that don't have accepted answers are the ones in which I converse with the posters back and forth and ultimately don't come up with a solution (for the most part I've managed to solve those problems myself).Kevin
@Kevin If you find an answer yourself you should post the answer yourself and then accept itJoshB

1 Answers

1
votes

Until the HTML5 video enviroment on the web improves, you should use all of them. Turns out, there are quite a few sites doing this, so for now, you should too.