I have a very large web page - over 7000 lines (which will not be going on the internet).
An introduction consisting of music and graphics starts when the page is opened. The graphics are synchronized with the music.
Problem
The introduction works fine each time the page opens except the very first time. Then the music lags the graphics by about one second. I assume this is something to do with stuff being loaded into the cache.
I can solve the problem by moving the Player object/params section from the BODY to the HEAD. However, when the Player is then required to show video/audio I only get audio.
It would be much appreciated if someone could show me how to get the Player pre-loaded (assuming that solves the problem) or how to get the Player to show video when it is located in the HEAD.
My browser is Explorer and I am using <body onLoad.....> to start the intro.
The Player is Windows Media Player and the params are as follows:
<OBJECT id = "Player" CLASSID = "CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">
<param name="AutoStart" value="True">
<param name="uiMode" value="Invisible">
<param name="stretchToFit" value="True">
<param name="windowlessVideo" value="True">
<param name="Volume" value="100">
<param name="Player.enabled" value="True">
</OBJECT>
I use JavaScript to change the param values depending on what is required of the Player.
Appreciate any help.
TedN