Couldn't get this to work but am using jquery.embedquicktime.js and it
seems to help. Thanks.

On Sep 25, 7:26 am, Mike Alsup <mal...@gmail.com> wrote:
> > 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