November 1st, 2006 - by Golgotha

Be sure to read the ‘READ ME’ file…no really…

* use myPod.html and myPod-slim.html as an example if need be

STEP 1
copy and paste the below 2 scripts between your <head> </head> tags

  1. <script type="text/javascript" src="swfobject.js" ></script>
  2. <script type="text/javascript" src="js-to-flash.js" ></script>

STEP 2
copy and paste the below code where you want the webPod in your page

  1. <div id="flashcontent" style="text-align:center;">
  2. You need to download the Flash player from Adobe to use the webPod.
  3. </div>
  4.  
  5. <script type="text/javascript">
  6. var so = new SWFObject("webPod.swf", "webPod", "165", "265", "8", "#ffffff");
  7. so.addParam("quality", "best");
  8. so.addParam("wmode", "transparent");
  9. so.addParam("flashvars", "xmlFile=tunes.xml");
  10.  
  11. so.write("flashcontent");
  12. </script>

STEP 3
– In the above code, modify the path to the webPod.swf file.
– If you’re using the webPod-slim then change the above code from webPod.swf
to webPod-slim.swf and change the width from 165 to 125.
– change the flashvars “xmlFile=tunes.xml” to the correct path if need be.

STEP 4
make sure the song title in the playSong method is identical to the one in
the title in the XML file. IT IS CASE SENSITIVE

  1. <a href="javascript:playSong('Lost Someone')">Lost Someone</a>

STEP 5
Upload your MP3s and modify the tunes.xml file

Comments are closed.

mulberry sale spyder womens jacket cheap new balance 574 mulberry outlet cheap new balance 574 arcteryx outlet mulberry sale spyder womens jacket mulberry sale spyder womens jacket mulberry outlet mulberry outlet new balance 574

Popular Articles

Top 10 Commentators


Subscribe to this feed! Subscribe by Email!

Random Bits Podcast

You need to download the Flash player from Adobe

Blogs Worth Reading