advertisement

Article:
  Build a Simple MP3 Player for Your Site
Subject:   Batmo MP3 Player
Date:   2009-01-11 09:00:15
From:   George Crozer
Hi I am developing a band website and would like to use your Batmo Mp3 player to showcase songs. I have followed the instructions in both the Feb 23 2005 and May 31 2006 tutorials and cannot get the player to work. I have uploaded the external javascript in a separate BatmoAudioPop.js file to my server. The link to external javascript <script src="BatmoAudioPop.js" type="text/javascript"></script> is between the head tags of the page. finally the information Vocoder Example (http://www.my_site/mymusic_folder/my_song.mp3) is between the body tags on the page.
I am running OS x with the latest update and my Java script is enabled. the Mp3 is also uploaded. When i click the link on the published page Im taken to a to the new blank page to play the Mp3 the link to javascript is not initiating . Please Help.
Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • David Battino photo Batmo MP3 Player
    2009-01-11 15:50:27  David Battino | O'Reilly Blogger [Reply | View]

    George: Do your song titles contain apostrophes or quotes? That's the most frequent reason the script breaks. You need to "escape" apostrophes and quotes by preceding them with a backslash. Send me a link to your test page and I'll take a look.