From 8086c2227b04ee735fe272d63276cecbaf78a08b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 18 Aug 2009 11:06:16 +0400 Subject: [PATCH] update for native flash player for FF 3.5 --- functions.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions.js b/functions.js index 81cadfe0..cb8a0dc5 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')); } -- 2.39.5