update for native flash player for FF 3.5
This commit is contained in:
parent
541890fb4d
commit
8086c2227b
|
@ -2160,7 +2160,8 @@ function switchToFlash(e) {
|
||||||
}
|
}
|
||||||
function html5AudioOrFlash(type) {
|
function html5AudioOrFlash(type) {
|
||||||
var audioTag = document.createElement('audio');
|
var audioTag = document.createElement('audio');
|
||||||
if(! audioTag.canPlayType || audioTag.canPlayType(type)=="no"){
|
if(! audioTag.canPlayType || audioTag.canPlayType(type) == "no" ||
|
||||||
|
audioTag.canPlayType(type) == ""){
|
||||||
if($('switchToFlashLink')){
|
if($('switchToFlashLink')){
|
||||||
switchToFlash($('switchToFlashLink'));
|
switchToFlash($('switchToFlashLink'));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue