Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

The state of HTML5 video and audio

From: HTML5: Video and Audio in Depth

Video: The state of HTML5 video and audio

So we know what HTML5 video and audio are, but are they ready for us to actually use on our web sites today? The answer is yes, but with a big asterisk. Latest versions of all popular browsers support HTML5 video and audio including Internet Explorer 9. Because of this, a little over half of the users probably have a browser that can support HTML5 Video and Audio. This chart is based on global Internet user stats from statcounter.com and you can see that from March of 2010 to March of 2011 user support for HTML5 video and audio has grown from 38% to about 53%.

The state of HTML5 video and audio

So we know what HTML5 video and audio are, but are they ready for us to actually use on our web sites today? The answer is yes, but with a big asterisk. Latest versions of all popular browsers support HTML5 video and audio including Internet Explorer 9. Because of this, a little over half of the users probably have a browser that can support HTML5 Video and Audio. This chart is based on global Internet user stats from statcounter.com and you can see that from March of 2010 to March of 2011 user support for HTML5 video and audio has grown from 38% to about 53%.

In this chart you can see that 53% broken down by browser. Over half of your HTML5-supported users will be using Firefox and Chrome, Safari, Opera, and finally Internet Explorer 9. Now with the official release of IE 9 in 2011, I expect we'll see IE start to climb the ranks in this chart and the overall support of HTML5 will grow with it. Your own web site's stats may be different than these depending on your audience, but even if your audience support is much lower, I think you will see significant growth through 2011.

Now 53% of users probably doesn't sound like a lot, especially compared to Flash which will be supported by between 95 and 99% of your users. So why would you want to start using HTML5 now? Well, there are a couple of basic reasons and then one big reason. First basic reason is HTML5 video is the future of web video, so we'll all be there eventually even if we don't start now. That's not the best reason and if you wait, you will probably find it easier to work with HTML video later when all kinks are worked out. That's still something to consider.

Second is that theoretically the code should be cleaner, a simple video tag instead of a bulky embed code for a third-party plug-in like Flash. However until all our users support HTML5 video, we need to provide a plug-in fallback for other users, which means our code is actually more bulky. The third basic reason is the fact that the player is built directly into the browser, meaning it doesn't require a whole other application like Flash to be running. So with HTML5, your video might play back more smoothly and seem more responsive and should definitely take up less of your system's resources.

Now that's not a hard and fast rule. It depends on how a specific browser's players built, but it should be true in most cases. Now on the other side of that, not all HTML5 browsers support the same video formats and some, including Firefox versions between 3.5 and 4, only support the Ogg Theora format which is a lower quality format than the H.264 format you should probably be using with Flash today. So you would be delivering a lower quality video to those users. Thankfully Firefox version 4 supports the WebM format which is a comparable quality to H.264.

Now I've realized I'm not making the best case for HTML5 video here and honestly it's still a very new technology and you should probably approach it as if it were an application in beta. You expect it to work, but know that you might hit some bumps in the process, but as I mentioned there is still one big reason to use HTML5 video and that is the fact that it's the only way to play back a video on Apple's iOS devices including iPhone, iPod and iPad. Flash is not supported on these devices. iDevice users probably aren't going to be a large portion of your audience.

In fact according to statcounter.com, it could be under 2% of your overall traffic. Still these are very popular devices. There is a good chance you have at least one of those three. Most people know these are popular devices and more and more expect you to support them. I have an iPhone myself I know it's frustrating for me when I find a broken Flash plug-in in the place of the content I want. Knowing what I know, I can't really fault developer for not supporting HTML5 yet, but if you have any significant amount of video or audio on your site and don't support HTML5 yet, you can probably expect to receive requests from the users to just start supporting their iOS devices and that's the big reason why you'd want to start using HTML5 video and audio now.

Apple has single handedly lit a fire under HTML5 video adoption. This chart from mefeedia.com estimates that as a February 2011 about 63% of video on the web is viewable on an iOS device. So if your video isn't, it's in a minority. At the same time Apple is pushing HTML5 forward when it comes to video formats, it's also in some views holding HTML5 video back. So next, I'll talk about the format war.

Show transcript

This video is part of

Image for HTML5: Video and Audio in Depth
HTML5: Video and Audio in Depth

37 video lessons · 14650 viewers

Steve Heffernan
Author

 
Expand all | Collapse all
  1. 1m 24s
    1. Welcome
      42s
    2. Using the exercise files
      42s
  2. 15m 18s
    1. Understanding HTML5 video and audio
      4m 46s
    2. The state of HTML5 video and audio
      4m 29s
    3. Understanding the format war
      3m 53s
    4. Configuring your server to deliver HTML5 media formats
      2m 10s
  3. 32m 36s
    1. Using the video and audio tags
      5m 34s
    2. Using multiple sources for browser compatibility
      5m 53s
    3. Preloading
      4m 16s
    4. Autoplaying
      2m 2s
    5. Looping
      5m 11s
    6. Setting a poster frame
      3m 43s
    7. Setting the video width and height
      3m 40s
    8. Displaying subtitles and captions
      2m 17s
  4. 12m 40s
    1. Falling back to Flash
      4m 4s
    2. Falling back to download links
      6m 21s
    3. Using an embed code builder
      2m 15s
  5. 22m 17s
    1. Understanding HTML5 video formats
      5m 10s
    2. Understanding HTML5 audio formats
      2m 57s
    3. Encoding MP4/H.264 video with HandBrake
      3m 13s
    4. Encoding Ogg, Theora, and WebM with Firefogg
      3m 18s
    5. Encoding audio formats with VLC
      5m 54s
    6. Automating video and audio encoding
      1m 45s
  6. 34m 59s
    1. Setting up the JavaScript
      4m 39s
    2. Creating Play and Pause buttons
      7m 52s
    3. Creating a Play Progress bar
      5m 49s
    4. Creating a Load Progress bar
      9m 29s
    5. Creating a Current Time and Duration display
      7m 10s
  7. 4m 37s
    1. Overview of known issues
      35s
    2. Autobuffer or preload?
      56s
    3. Load progress in Firefox 3.6
      41s
    4. Android 2.0 issues
      1m 5s
    5. iOS 3 issues
      1m 20s
  8. 2m 8s
    1. Flight of the Navigator
      50s
    2. ZEN Audio Player by simurai
      34s
    3. The Wilderness Downtown by Google and Arcade Fire
      44s
  9. 1m 40s
    1. Further exploration
      1m 40s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now "Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed HTML5: Video and Audio in Depth.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.