PDA

View Full Version : Quicktime - progress bar for movie download?


robkar97
02-12-2008, 07:14 PM
What's the deal with QuickTime's "SetUrl()"? Once invoked, it pretty much freezes the entire browser window (?) until the movie has finished loading.

I'm trying to script a simple progress bar using the "[moviename].GetMaxBytesLoaded()" and "[moviename].GetMaxTimeLoaded()", but it only works for the initially loaded movie specified in the <embed> tag's src attribute (where it works nicely, updating every 1/10th second according to my setTimeout() function).

However, when loading a new movie of roughly the same filesize into the <embed>, nothing happens until the very end of the download (95%) or nothing at all.

Is there anything you can do to load a new movie, and get the monitoring working?

I've used the double <object> and <embed> syntax Apple recommends.

Also, using the events available with the new QuickTime 7.2 (qt_progress and qt_load) gives me pretty much the exact same result. :-(

Robert