Hi all,
I have MP3 player from
http://www.premiumbeat.com/flash_resources/free_flash_music_player/multiple_tracks_mp3_player_menu.php
and I want to put it in my page. I want it to appear in every page. I'm pretty new to many PHP stuffs and with PHP page I judt do simple include statement. How do I do that?

Here is their sample code to use with player and it works when the file is in the same folder. I know almost nothing about javascripting
Thanks!

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Sample Flash Music Player Embed Code</title>
</head>
<body>

<!--
INSTRUCTIONS
* Change autoPlay to "yes" if you want the music track to start automatically once loaded

More instructions at:
http://www.premiumbeat.com/flash_resources/free_flash_music_player/multiple_tracks_mp3_player_menu.php

-->

<!-- Begin Copy/Paste -->

<script type="text/javascript" src="swfobject.js"></script>
		
<div id="flashPlayer">
  This text will be replaced by the flash music player.
</div>

<script type="text/javascript">
   var so = new SWFObject("playerMultipleList.swf", "mymovie", "295", "200", "7", "#FFFFFF");  
   so.addVariable("autoPlay","no")
   so.addVariable("playlistPath","playlist.xml")
   so.write("flashPlayer");
</script>

<!-- End Copy/Paste -->

</body>
</html>

Ok I have made a progress
I have successful embeded my js code in php. The problem is, the list doesn't load! I wonder if one can see the error I have made!

Note: I forgot to say that my index file is at "/elijah/index.php" and the player is at "/elijah/player"

the code I have embedded in my index.php

<?php
echo "<script language='javascript' src='/elijah/player/swfobject.js'> </script> \n ";
echo "<div id='flashPlayer'> \n ";
echo "  This text will be replaced by the flash music player.\n ";
echo "</div>\n";
echo "<script language='javascript'>\n ";
echo "  var so = new SWFObject('/elijah/player/playerMultipleList.swf', 'mymovie', '295', '200', '7', '#FFFFFF')\n ";
echo "   so.addVariable('autoPlay','no')\n ";
echo "   so.addVariable('playlistPath','/elijah/player/playlist.xml')\n ";
echo "   so.write('flashPlayer')\n ";
echo "</script> \n ";
?>
This question has already been answered. Start a new discussion instead.