XSPF Web Music Player and restarting music in surfing

Posted by Felicita on Stack Overflow See other posts from Stack Overflow or by Felicita
Published on 2010-05-22T18:04:23Z Indexed on 2010/05/22 18:10 UTC
Read the original article Hit count: 591

Filed under:
|

I asked a question in this link;

Streaming music background

function music(){
   $txt = '<object type="application/x-shockwave-flash"
   data="http://***.com/slim.swf?&autoplay=true&repeat=true&shuffle=true&song_url=http:  //***.com/music.mp3&" 
width="200" height="20">
   <param name="movie" 
  value="http://***.com/slim.swf?&autoplay=true&repeat=true&shuffle=true&     song_url=http://***.com/music.mp3&" />
      <img src="noflash.gif" 
         width="0" height="0" alt="" />
     </object>';
    echo $txt;
  }

I have added this player with a simple php fonction. Palyer working perfect but when page changes, the music restarts. I want that I will be continued. What is wrong in code?

© Stack Overflow or respective owner

Related posts about php

Related posts about music