JPlayer and Shoutcast configuration

I am trying to customize the JPlayer plugin and Shoutcast. According to their website, this can be done.

How to get jPlayer to play SHOUTCast stream? You need to set Media to the stream url. For example, the SHOUTcast server: http://mp3-vr-128.as34763.net/ URL of the MP3 stream: http://mp3-vr-128.as34763.net/;stream/1

I tried to do it

<script type="text/javascript">
//<![CDATA[
$(document).ready(function(){

    $("#jquery_jplayer_1").jPlayer({
        ready: function (event) {
            $(this).jPlayer("setMedia", {
                m4a:"http://77.68.106.224:8018;stream/1",
                oga:"http://77.68.106.224:8018"
            }).jPlayer("play");
        },


        swfPath: "js",
        supplied: "m4a, oga, mp3", 
        wmode: "window"
    });
});
//]]>
</script>

I do not get any results with my settings. Does anyone use JPlayer for Stream Stream, or can someone suggest a player that doesn't need php.

+5
source share
1 answer

sweet vibrations at this station!

, , , jPlayer.. Shoutcast MP3, M4a OGG.. , .

, , , Flash IE8 . , , , , . Chrome, Safari Firefox .

<script type="text/javascript">
//<![CDATA[
$(document).ready(function(){

    $("#jquery_jplayer_1").jPlayer({
        ready: function (event) {
            $(this).jPlayer("setMedia", {
                mp3:"http://77.68.106.224:8018;stream/1"
            }).jPlayer("play");
        },


        swfPath: "js",
        supplied: "mp3", 
        wmode: "window"
    });
});
//]]>
</script>
+5

All Articles