Click to See Complete Forum and Search --> : Really simple question


Darkblood18
07-17-2003, 01:02 PM
Hi there!

I'm really new to javascript and I'm wondering how could I make a video (in this case a mpg file) load as soon as my webpage loads up, without the people visiting needing to click on the video URL.

I've been trying to use the document.open("video/mpeg") method but I don't know how to call the video file after that.

Can anybody help me? :p

Khalid Ali
07-17-2003, 03:00 PM
read up on embed and object tags

mzllr
07-17-2003, 05:39 PM
<embed src='movie.mpg' autoplay="true" width=x height=y></embed>