Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

body onload won't fire due to video stream

Status
Not open for further replies.

NewtownGuy

Technical User
Jul 27, 2007
146
US
BODY onload="initScript();" won't execute my initScript, apparently because my page immediately loads a live M-JPEG video stream and thus the page never finishes loading all of the images. I've tried invoking initScript at the bottom of my JS functions, but sometimes it fires before the page finishes loading. I've tried invoking initScript from JS code at the very bottom of my page, but sometimes it doesn't fire.

I know the page is otherwise ok because it works right if I include a button that I have to click to run initScript.

How can I solve this problem ?

Thank you in advance for your help.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top