From c6049be7e34cd966c0494a9bdca1e15f92681d93 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 6320db36..4cf7320f 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 {