I think I can help.  What I suggest is that you become familiar with
free and excellent Flowplayer and use it to embed your media files.
Here is a link:  http://flowplayer.org/

Flowplayer has lots of tools for scripters and jQuery developers.  It
has two methods that I've found that may be of use to you:
stopBuffering()
and...
onBufferStop

There's also onBufferFull and onBufferEmpty

There are also a host of other methods that Flowplayer has that you
may find useful.

See this documentation:
http://flowplayer.org/documentation/configuration/clips.html
http://flowplayer.org/apidoc/org/flowplayer/controller/StreamProvider.html

Good luck.

On Sep 24, 8:51 am, RealMason <st...@tangentnet.com> wrote:
> I'm a total jquery newbie and I'm just trying to find out if something
> is possible.
>
> If I have a full album worth of songs that I want to list on a web
> page, can I use jquery to only embed the quicktime file after the user
> clicks on a play button for that track.
>
> Similar to Amazon's or iTunes play button per track.
>
> The way I'm doing it right now, every song is embedded and therefore
> is progressively downloading and soaking up bandwidth even though the
> user may only listen to one song (or none).
>
> Essentially, I want the song to only progressively download IF the
> user clicks play.
>
> I am NOT asking about autoplay versus click to play... instead my
> question is about controlling the point in time that the file gets
> embedded and starts downloading to the browser.
>
> Any direction would be appreciated. I do have the "jquery.media.js"
> plug in.
>
> 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.
>
> Thanks.

Reply via email to