1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 08:25:54 +00:00

update for native flash player for FF 3.5

This commit is contained in:
Andrew Dolgov
2009-08-18 11:06:16 +04:00
parent 541890fb4d
commit 8086c2227b

View File

@@ -2160,7 +2160,8 @@ function switchToFlash(e) {
} }
function html5AudioOrFlash(type) { function html5AudioOrFlash(type) {
var audioTag = document.createElement('audio'); var audioTag = document.createElement('audio');
if(! audioTag.canPlayType || audioTag.canPlayType(type)=="no"){ if(! audioTag.canPlayType || audioTag.canPlayType(type) == "no" ||
audioTag.canPlayType(type) == ""){
if($('switchToFlashLink')){ if($('switchToFlashLink')){
switchToFlash($('switchToFlashLink')); switchToFlash($('switchToFlashLink'));
} }