]> git.wh0rd.org Git - tt-rss.git/commitdiff
update for native flash player for FF 3.5
authorAndrew Dolgov <fox@bah.org.ru>
Tue, 18 Aug 2009 07:06:16 +0000 (11:06 +0400)
committerAndrew Dolgov <fox@bah.org.ru>
Tue, 18 Aug 2009 07:06:16 +0000 (11:06 +0400)
functions.js

index 81cadfe0834582294ff2e4e6b59449dd1f076a7f..cb8a0dc5a774dd29072db012f02a0573e5ff28ee 100644 (file)
@@ -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'));
                }