sadly chrome should know better
This commit is contained in:
parent
c6049be7e3
commit
c2edc5b0cb
1 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,8 @@ jQuery.support.video = function() {
|
|||
video.webm = false;
|
||||
}
|
||||
video.h264 = !!(v.canPlayType && v.canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"').replace(/no/, ''));
|
||||
if(jQuery.browser.chrome && video.webm)
|
||||
video.h264 = false;
|
||||
video.mp4 = video.h264;
|
||||
video.ogg = !!(v.canPlayType && v.canPlayType('video/ogg; codecs="theora, vorbis"').replace(/no/, ''));
|
||||
video.ogv = video.ogg;
|
||||
|
|
Loading…
Reference in a new issue