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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-16-2009, 08:52 PM   #1
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
Old 03-16-2009, 09:03 PM   #2
Boozer
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?
Boozer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-16-2009, 09:40 PM   #3
INever
Confirmed User
 
INever's Avatar
 
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

Last edited by INever; 03-16-2009 at 09:42 PM..
INever is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-16-2009, 09:55 PM   #4
HookUPcom
Confirmed User
 
HookUPcom's Avatar
 
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.
__________________
icq: 364-320-971
HookUPcom is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-16-2009, 09:59 PM   #5
uno
RIP Dodger. BEST.CAT.EVER
 
uno's Avatar
 
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!
uno is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-16-2009, 10:20 PM   #6
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
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
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.