我想通过rtmp与Jplayer播放mp3流样本(已修补https://github.com/rmhall/jPlayer以允许rtmp)。 我的代码是在这里:JPlayer rtmp流问题
$('#jquery_jplayer').jPlayer({
swfPath: "/Scripts/JPlayer/",
supplied: "rtmpa, rtmpv, mp3",
solution: "flash",
ready: function() {
$(this).jPlayer("setMedia", {
rtmpa: "rtmp://limelight-fmstream-70.musicnet.com/a4396/e1/mp3:/spl/068/771/139/spl_024?e=1342014373&h=0dc0153ed7fb0ff34d04fce764de9896" //this is not work
//THIS WORKS! rtmpv: "rtmp://cp67126.edgefcs.net/ondemand/mp4:mediapm/ovp/content/test/video/spacealonehd_sounas_640_300.mp4"
});
$(this).jPlayer("play");
}
});
如果我打rtmpv视频它的工作原理,但这种声音(rtmpa)不工作(不玩任何东西)。我在http://widgets.mndigital.com/test/stream.aspx上测试了这个mp3,它在那里工作。
有人可以帮助我吗? 谢谢
是已经使用它了。工作正常!谢谢,队友 – 2012-07-12 07:48:28