Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 1st, 2012  |  syntax: None  |  size: 0.23 KB  |  hits: 11  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. What user agents support mp4/H.264 video in the HTML5 <video> tag?
  2. if (!Modernizr.video)
  3. {
  4.     // Implement some Flash fallback
  5. }
  6.        
  7. if (!Modernizr.video || (Modernizr.video && !Modernizr.video.h264))
  8. {
  9.     // Flash fallback here
  10. }