advertisement

Article:
  Build a Simple MP3 Player for Your Site
Subject:   Batmo MP3 Player
Date:   2009-01-13 00:40:35
From:   George Crozer
Response to: Batmo MP3 Player

Hi David
thanks for getting back to me!
the link to my test page is http://www.theredfords.gcrozer.com/batmotest.html


Kind regards
George

Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • David Battino photo Batmo MP3 Player
    2009-01-13 01:10:40  David Battino | O'Reilly Blogger [Reply | View]

    Hi George.

    I see the problem: The closing bracket for the if (visitorOS != "Windows") section should be on the next line. In your version of the script, it's commented out. Try using the version of the script in the zip file; it looks like the one printed here may have been formatted such that the bracket got absorbed.
    • Batmo MP3 Player
      2009-01-14 15:55:03  George Crozer [Reply | View]

      Hi David
      Thank you for sorting that out. the great thing about this non flash player is that it works on the iphone as well (the wimpy player is great too but yours is rock solid)
      i'll ask the next question on behalf of the other person out here who doesn't understand much about scripts!!
      I would like to include a playlist like you detail further in the tutorial! would say to create a page with all the individual URLs listed and save with .m3u extensions. This i can do ok but!!
      Is the list in the body or the head?
      There must be a link required somewhere?

      Is there a link change necessary to the name of player (/my_mp3s/mysong.mp3)

      Is there anything else to add to the javascript

      I shall try the pictures next that looks good too!!