Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

MP3 Stream not working in new Player (4.6.485)

3 replies [Last post]

Hi,
I have a working mp3 stream from our shoutcast server with an old version of jwplayer:
http://www.frauneder.com/streamtest/old.html

but since I tried to update to the newest version of jwplayer it doesnt play anymore. On the network side I can see that it tries to load the file but doesnt start to play it.
http://www.frauneder.com/streamtest/new.html

Any help appreciated.

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

<html lang="en">

  <head>

    <script src="http://www.google.com/jsapi"></script>

    <script>
      google.load('swfobject', '2.2');
    </script>

    <script type="text/javascript">
      var flashvars =
      {
        'file':               'http://188.21.68.154:9000/;*.nsv',
        'type':               'sound',
        'duration':           '9999999',
        'title':              'My Stream',
        'frontcolor':         '86C29D',  // text & icons                  (green)
        'backcolor':          '003367',  // playlist background           (blue)
        'lightcolor':         'C286BA',  // selected text/track highlight (red)
        'screencolor':        'FFFFFF',  // screen background             (black)
        'id':                 'playerID',
        'autostart':          'true'
      };

      var params =
      {
        'allowfullscreen':    'false',
        'allowscriptaccess':  'always',
        'bgcolor':            '#FFFFFF'
      };

      var attributes =
      {
        'id':                 'playerID',
        'name':               'playerID'
      };

      swfobject.embedSWF('player.swf', 'player', '600', '200', '9.0.124', false, flashvars, params, attributes);
    </script>

  <head>

  <body>

      <div id="playercontainer" class="playercontainer"><a id="player" class="player" href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">Get the Flash Plugin to see this video.</a></div>

  </body>

</html>

thx alot.
this is working for a single file. but tried to get it working with my playlist failed ;(

http://www.tripamer.at/test/

playlist:
http://www.tripamer.at/test/playlist.xml

thx

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/" xmlns:jwplayer="http://developer.longtailvideo.com/trac/wiki/FlashFormats">
  <channel>
    <title>Radio Playlist</title>
    <link>http://www.streampact.com/</link>
    <description>Description here.</description>
    <item>
      <title>Electric Radio</title>
      <link>http://shoutcast.com/</link>
      <description>electronic</description>
      <media:credit role="author">Radio</media:credit>
      <media:content url="http://188.21.68.154:8700;*.nsv" />
      <jwplayer:type>sound</jwplayer:type>
    </item>
    <item>
      <title>Reggae Radio</title>
      <link>http://shoutcast.com/</link>
      <description>roots reggae</description>
      <media:credit role="author">Radio</media:credit>
      <media:content url="http://188.21.68.154:9000;*.nsv" />
      <jwplayer:type>sound</jwplayer:type>
    </item>
    <item>
      <title>Jazz Radio</title>
      <link>http://shoutcast.com/</link>
      <description>mixed jazz</description>
      <media:credit role="author">Radio</media:credit>
      <media:content url="http://188.21.68.154:8250;*.nsv" />
      <jwplayer:type>sound</jwplayer:type>
    </item>
  </channel>
</rss>