Javascript Soundcloud自定义播放器未在Firefox中播放

Javascript Soundcloud自定义播放器未在Firefox中播放,javascript,jquery,html,firefox,soundcloud,Javascript,Jquery,Html,Firefox,Soundcloud,我已经从安装到安装了soundcloud的自定义HTML5播放器,用于测试目的。我注意到这个播放器在firefox浏览器中不工作。我得到以下错误 TypeError: $.browser is undefined if ($.browser.msie) { return '<object height="100%" width="100%" id="' + engineId + '" classid="clsid:D27CDB6E-AE6D-11cf-96B8-4445

我已经从安装到安装了soundcloud的自定义HTML5播放器,用于测试目的。我注意到这个播放器在firefox浏览器中不工作。我得到以下错误

TypeError: $.browser is undefined 


 if ($.browser.msie) {
  return '<object height="100%" width="100%" id="' + engineId + '"     classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" data="' + swf + '">'+
'<param name="movie" value="' + swf + '" />'+
   '<param name="allowscriptaccess" value="always" />'+
    '</object>';
      } else {
       return '<object height="100%" width="100%" id="' + engineId + '">'+
         '<embed allowscriptaccess="always" height="100%" width="100%" src="' + swf + '"            type="application/x-shockwave-flash" name="' + engineId + '" />'+'</object>';
    }
    }; 
TypeError:$。浏览器未定义
如果($.browser.msie){
返回“”+
''+
''+
'';
}否则{
返回“”+
''+'';
}
}; 

firefox需要flash播放器吗?以前有人遇到过这个问题吗?

$。浏览器是一个浏览器,从jQuery 1.9版(与页面上包含的版本相同)起被删除

要使用
浏览器
属性,必须在页面中包含jQuery(<1.9)的版本


我想这也是一个很好的机会来指出,一般来说,.

我在firefox中遇到了一个错误:
TypeError:$。浏览器未定义http://iamnatesmithen.com/soundcloud/js/sc-player.js 第174行