| Article: |
Build a Simple MP3 Player for Your Site | |
| Subject: | Opened window doesn't play the .mp3 | |
| Date: | 2007-10-31 16:28:42 | |
| From: | tpixton | |
| I've set up your javascript link and pathways correctly, and the soundpop.js gets called for correctly from the link in my page and opens the little orange window. However, the linked .mp3 file doesn't play. The path to the .mp3 is correct because it opens when I disable the script (replacing the current page completely, which I don't want, obviously). When I click on "download this file" in the orange window, Safari says "Can't find the file" and shows a path name completely at odds with what I've given in the soundfiledesc part of the script. Any ideas? | ||
Showing messages 1 through 2 of 2.
-
Opened window doesn't play the .mp3
2007-10-31 17:05:40 David Battino [Reply | View]
-
Opened window doesn't play the .mp3
2007-10-31 18:28:48 tpixton [Reply | View]
I checked my file names and everything seemed OK. I just uploaded my entire site to a test server and discovered that your script works fine! The windows open just as they should. Just doesn't function locally. So thanks so much for your prompt reply and help!





http://www.oreillynet.com/pub/a/oreilly/digitalmedia/2007/06/08/web-audio-javascript-tricks.html