View Full Version : embed a player that fills the frame

11-02-2006, 10:12 PM
Hi all
I'm pretty new to all this and badly need some help. What I'm trying to do is pretty much explained in the thread title. I want the player I'm embedding to fill the frame it's in. This is the code I've got in so far:


<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">

<object width="1140" height="875">
<embed src="myvid1" type="application/x-shockwave-flash" width="1140" height="875" allowfullscreen="true">



1140 by 875 is fine for my screen but useless to anyone with a different resolution to me.

Any help very gratefully recieved!

11-02-2006, 11:43 PM
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Flash fullscreen</title>
<style type="text/css">
html, body {
<object type="applicaton/x-shockwave-flash" data="myvid1.swf" width="100%" height="100%">
<param name="movie" value="myvid1.swf">
<param name="scale" value="exactfit">
If you are seeing this then it means you do not have the correct flash plugin installed, download it <a href="http://www.adobe.com/go/gntray_dl_getflashplayer">here</a>.

11-04-2006, 11:27 AM
Thank you so so much! Good to know that you can do a percentage rather than an actual number of pixels!

11-04-2006, 03:52 PM
In Web Design terminology, using percent instead of using pixels is called "LIQUID DESIGN".

With this, you don't need to worry for users who have various screen resolution depth.

11-05-2006, 12:12 AM
Very good to know! My project at the moment is just something for me and my mates to have stored locally which links to loads of videos on dailymotion.com.
My next query is if I can have a button in the "contents" frame (or so Frontpage calls it) to make the video in the main frame open fullscreen in a new page.
The way I have it set up is all the episodes in a tree menu system in a small frame down the left hand side then the video playing in the main frame. A fullscreen button would be brilliant though if anyone can help.