diff options
author | Andrew Dolgov <[email protected]> | 2009-08-18 11:06:16 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2009-08-18 11:06:16 +0400 |
commit | 8086c2227b04ee735fe272d63276cecbaf78a08b (patch) | |
tree | 4e38d0e5551af0fc04f7fb2e4db79b1fbf0b475d | |
parent | 541890fb4dc5e18e6267f4f1284019e8afea45fa (diff) |
update for native flash player for FF 3.5
-rw-r--r-- | functions.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/functions.js b/functions.js index 81cadfe08..cb8a0dc5a 100644 --- a/functions.js +++ b/functions.js @@ -2160,7 +2160,8 @@ function switchToFlash(e) { } function html5AudioOrFlash(type) { var audioTag = document.createElement('audio'); - if(! audioTag.canPlayType || audioTag.canPlayType(type)=="no"){ + if(! audioTag.canPlayType || audioTag.canPlayType(type) == "no" || + audioTag.canPlayType(type) == ""){ if($('switchToFlashLink')){ switchToFlash($('switchToFlashLink')); } |