Go Back   Dynamic Drive Forums > General Coding > Other
Search Dynamic Drive Forums:

Reply
 
Thread Tools Search this Thread
  #1  
Old 02-21-2005, 05:08 PM
CoBikeRider CoBikeRider is offline
New Comer (less than 5 posts)
 
Join Date: Feb 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Question Preloading Music Files

I am looking for a method to preload a music file (eg mp3) so I can synchronize JavaScript events to occur at given times as the music is played.

By using HTML <BGSOUND> I don't know when the music file is downloaded and has started playing - BGSOUND doesn't have a "complete" property like IMG does. I tried the startdownload method and I can see the file downloading. And it will also trigger a call back that I can test. However, the content of the music file is not accesible/usable. Am I missing something here?

In summary does anyone know how I can determine when a sound file has started playing?
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:54 PM.

Home - Contact Us - Archives - Link to DD - Top 

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.