forked from 0x2620/pandora
make derivatives more generic
This commit is contained in:
parent
13466021f2
commit
0feeef6d7d
7 changed files with 34 additions and 41 deletions
|
|
@ -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.ogg = !!(v.canPlayType && v.canPlayType('video/ogg; codecs="theora, vorbis"').replace(/no/, ''));
|
||||
video.ogv = video.ogg;
|
||||
} else {
|
||||
video.support = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue