>Is there any way of ensuring that my qtvr movies
appear last instead of first on my web site...or is
this just a random thing?
From my experience, browsers attempt to load
EVERYTHING at once at the same even division of
available speed.
In other words, if your connection is 56K (simplified
connection speed for illustration) and there are 10
items on your page (including the html page itself),
then each item will come over to you at 5.6K.
Smaller items will load and appear faster than larger
items which take longer to download. Netscape draws
them as they appear, IE draws them AFTER everything
has been loaded.
In addition, as more items complete loading, the
division speed gets faster because there are less
items to divide by, thus the final item gets pulled in
at a full 56K.
Okay, enough about the inner working of browsers, how
do I make my movies come up last?
A little complicated and requires knowlege of
javascript, but these are the steps I would recommend.
1. Detect the browser
2. Rather than embeding the movie in HTML, have
Javascript document.write the following:
If IE have javascript draw an <IFRAME WIDTH=width of
movie HEIGHT=height of movie> with the SRC going to a
BLANK single frame movie.
If Netscape have javascript draw the <EMBED> with the
SRC going to a BLANK single frame movie.
4. Put an onload command in the body of your html to
run a javascript function which will load a movie into
the currently selected type of receptacle.
If IE, you will change the SRC value in the IFRAME to
point to your movie.
If netscape, you will change the SRC value of the
EMBED tag to point to your movie using the setURL
command.
You can also do something similiar with DIV tags, but
it is more involved than simple SRC changing. In
addition, you don't have to do all the amazingly
complex things you have to do to get them to work and
display properly everywhere.
With this system this will work as inline graphics in
your current website and they can be changed on the
fly without having to redraw the entire page.
This is the method I use with my autoviewer system. In
addition, my system will use PTViewer if they don't
have QT. Feel free to look at the code and pick out
the parts you want.
For Mac
http://www.designwizardry.com/autoviewer.sea.hqx
For PC
http://www.designwizardry.com/autoviewer.zip
Hope this helps... if you really get stuck I could
post just the pertinent bits of code when I get
time...
-Mike
=====
Mike Carambat
Design Wizardry - http://www.designwizardry.com
PLEASE IGNORE THE BIT OF SPAM BELOW (free email requires it):
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/