> My ideal solution would be a list of song titles and a play button.
> When the user clicks the play button, the quicktime play is revealed
> below the title and ONLY at that moment does the file start
> downloading.

If you are using the media plugin then just invoke "media" on the
desired element when a play button is clicked.  For example, given
markup like this:

<div>
    <button class="play">Play</button>
    <span class="song" href="song.mp3">Song Title</span>
</div>

I would use script something like this:

$('button.play').click(function() {
    $(this).next('span.song').media();
});

Reply via email to