このリンクで質問しました。
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;
}
このプレーヤーに単純なphp関数を追加しました。プレーヤーは完璧に動作していますが、ページが変わると音楽が再開します。続けてほしい。
コードの何が問題になっていますか?