![]() |
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 am no means a expert (as you will soon see) but if you took out the size of the new window does it go full screen or does it adjust to the size of the movie?
|
The browser is full size but the stupid movie is still shrunk to postage stamp size. The size of the browser changes with that code, but I can't figure out how to adjust the size of the movie
|
height... width... 250 that's 250x250 pixels. That's about the size of a postage stamp.
play with those. |
Which flv player are you using? If its the one I'm thinking of
OpenWindow.document.write("<EMBED SRC="+fileName+" AUTOSTART=true></EMBED>") could have a height and width attribute to it. |
try width=100% and height=100% on the embed tag
|
All times are GMT -7. The time now is 12:06 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123