![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
So Fucking Banned
Join Date: Feb 2005
Posts: 3,134
|
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?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Jan 2005
Location: .......in a niche, in orbit......
Posts: 3,511
|
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
__________________
I love Camdough |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Sep 2008
Location: Boulder, Colorado USA
Posts: 1,235
|
height... width... 250 that's 250x250 pixels. That's about the size of a postage stamp.
play with those. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
RIP Dodger. BEST.CAT.EVER
Industry Role:
Join Date: Dec 2002
Location: NYC Area
Posts: 18,450
|
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.
__________________
-uno icq: 111-914 CrazyBabe.com - porn art MojoHost - For all your hosting needs, present and future. Tell them I sent ya! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
try width=100% and height=100% on the embed tag
__________________
hatisblack at yahoo.com |
![]() |
![]() ![]() ![]() ![]() ![]() |