Javascript Movie Embed Question
<SCRIPT LANGUAGE="JavaScript">
function openMovie(fileName)
{
OpenWindow=window.open("", "newwin", "height=250,width=250,toolbar=yes,scrollbars="+scr oll+",menubar=yes");
OpenWindow.document.write("<HTML>")
OpenWindow.document.write("<TITLE>Movie Preivew</TITLE>")
OpenWindow.document.write("<BODY BGCOLOR=000000>")
OpenWindow.document.write("<EMBED SRC="+fileName+" AUTOSTART=true></EMBED>")
OpenWindow.document.write("</HTML>")
OpenWindow.document.close()
self.name="main"
}
</SCRIPT>
I am using this script to embed small movie previews that popup on my tour. I want to increase the (height/width) size of the movie and changing height/width only changes the size of the popup browser and NOT the size of the movie, which is like a postage stamp.
How do I set up this script to default to the size of the movie?
thanks in advance...
|