| Article: |
Build a Simple MP3 Player for Your Site | |
| Subject: | Batmo MP3 Player | |
| Date: | 2009-01-11 15:50:27 | |
| From: | DavidBattino | |
|
Response to: Batmo MP3 Player
|
||
| 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. | ||
Showing messages 1 through 3 of 3.
-
Batmo MP3 Player
2009-01-13 00:40:35 George Crozer [Reply | View]
-
Batmo MP3 Player
2009-01-13 01:10:40 David Battino |
[Reply | View]
Hi George.
I see the problem: The closing bracket for theif (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!!




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