From: Andrew Dolgov Date: Tue, 18 Aug 2009 07:06:16 +0000 (+0400) Subject: update for native flash player for FF 3.5 X-Git-Tag: 1.3.4~49 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=8086c2227b04ee735fe272d63276cecbaf78a08b;p=tt-rss.git update for native flash player for FF 3.5 --- 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')); }