We've expanded our news coverage and improved our search! Visit news.oreilly.com for the latest or search for all things across O'Reilly!
advertisement

Article:
  Build a Simple MP3 Player for Your Site
Subject:   Opened window doesn't play the .mp3
Date:   2007-10-31 17:05:40
From:   DavidBattino
Response to: Opened window doesn't play the .mp3

@Tpixton: The most common problem is including non-alphanumeric characters in the song title. Unescaped apostrophes, for example, will break the JavaScript. See this follow-up article for more background:


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

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • 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!