Changed Embed to enable MP4 again in FF as they've added H264 support for Windows beyond XP. XP seems to correctly see it can't play MP4.
This commit is contained in:
parent
2029b35361
commit
211481f8ab
1 changed files with 2 additions and 6 deletions
|
@ -53,12 +53,8 @@ function mistembed(streamname) {
|
|||
|
||||
|
||||
if (type == 'video/mp4') {
|
||||
if (navigator.userAgent.indexOf('Firefox') > -1) {
|
||||
//firefox claims to support MP4 but doesn't
|
||||
return false;
|
||||
}
|
||||
else if ((navigator.userAgent.indexOf('MSIE') > -1) && (parseInt(navigator.userAgent.split('MSIE')[1]) <= 9)) {
|
||||
//IE <= 9 doesn't either
|
||||
if ((navigator.userAgent.indexOf('MSIE') > -1) && (parseInt(navigator.userAgent.split('MSIE')[1]) <= 9)) {
|
||||
//IE <= 9 doesn't support MP4, Firefox seems to correctly see it now.
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue