From c1597032881a442e385eaaaac3a8209f8b19a4ce Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 7 Apr 2011 11:54:31 +0200 Subject: [PATCH] video format aliases --- static/js/jquery/jquery.videosupport.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/js/jquery/jquery.videosupport.js b/static/js/jquery/jquery.videosupport.js index 6320db3..4cf7320 100644 --- a/static/js/jquery/jquery.videosupport.js +++ b/static/js/jquery/jquery.videosupport.js @@ -10,6 +10,7 @@ jQuery.support.video = function() { video.webm = false; } video.h264 = !!(v.canPlayType && v.canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"').replace(/no/, '')); + video.mp4 = video.h264; video.ogg = !!(v.canPlayType && v.canPlayType('video/ogg; codecs="theora, vorbis"').replace(/no/, '')); video.ogv = video.ogg; } else {