Women in Technology

Hear us Roar



Article:
  Build a Better Web Audio Player
Subject:   re: using an image in BatmoAudioPop.js?
Date:   2009-08-24 10:13:17
From:   knowles01
David -


Thanks so much for the informative articles - Build A Simple MP3 Player, and Build a Better Web Audio Player. They're very informative and so easy to follow along.


I used the tutorial files for the latter - ie, the "BatmoAudioPop.js" file - to get a pop up MP3 player working on my site in virtually no time flat. I tested it on both mac and windows, across several different browsers, and it works so great!!


However, a question for you: I really liked the photo & caption feature that was used in your article "Build an Enhanced MP3 Player..."


Is it possible to add an image / caption with the "BatmoAudioPop.js" file? If so, what would be the code I would add to the external Javascript file, and what would the code on the HTML page look like?


My apologies if this has already been covered in the comments here. I couldn't find anything about it, however.


Thanks in advance.

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • David Battino photo re: using an image in BatmoAudioPop.js?
    2009-08-24 10:44:16  David Battino | O'Reilly Blogger [View]

    Thanks! Glad you found my experiments useful. In my followup article, "Three Free & Easy Web Audio Players" (http:// digitalmedia.oreilly.com/2008/08/21/free-easy-web-audio-players.html), I shared a new script that combines the best features of each, plus more. It still has some rough edges, but you can pick out the image code and plop it into the previous code.