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')); }