/*   swfobject.embedSWF("flowplayer-3.0.0-rc2.swf",
                "player", "400", "300", "9.0.0", null,
                     { config: "{'clip': 'stream.flv' }}" });
*/
//swfobject.embedSWF("flowplayer-3.1.5.swf","player","800","606","9.0.0", null,{
$f("player", "http://noc.up.krakow.pl/stream/flowplayer-3.1.5.swf", {

    clip: {
    },
          playlist: [
                    {url: 'http://noc.up.krakow.pl/stream/intro2.jpg', duration: '1'},
                    {url: 'http://noc.up.krakow.pl/stream/intro2.jpg', duration: '1000'}
//                    {url: 'myStream.sdp', autoPlay: false, provider: 'noc', live: true}
                          ],

onBeforePause: function()
{
                return false;
},

    // streaming plugins are configured under the plugins node
    plugins: {

        // here is our rtpm plugin configuration
        noc: {
            url: 'http://noc.up.krakow.pl/stream/flowplayer.rtmp-3.1.3.swf',

            // netConnectionUrl defines where the streams are found
            netConnectionUrl: 'rtmp://znawcy.com/rtplive'
        },
      controls:
        {
            backgroundColor: '#3b393c',
            all:false,
            play:false,
            pause:false,
            volume:true,
            mute:true,
            time:false,
            stop:false,
            playlist:false,
            fullscreen:true,
            width:'25',
            align:'right',
            autoHide: 'never',


            // a little more styling
            width: '100px',
            //bottom: 5,
            right: '0'
            //borderRadius: 15

                    
        }
    

    }
});


