summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-08-18 11:06:16 +0400
committerAndrew Dolgov <[email protected]>2009-08-18 11:06:16 +0400
commit8086c2227b04ee735fe272d63276cecbaf78a08b (patch)
tree4e38d0e5551af0fc04f7fb2e4db79b1fbf0b475d /functions.js
parent541890fb4dc5e18e6267f4f1284019e8afea45fa (diff)
update for native flash player for FF 3.5
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js3
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'));
}