View Single Post
Old 03-16-2009, 08:52 PM  
INever
Confirmed User
 
INever's Avatar
 
Join Date: Jan 2005
Location: .......in a niche, in orbit......
Posts: 3,511
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...
__________________
I love Camdough

Last edited by INever; 03-16-2009 at 08:53 PM..
INever is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote