Trevor Local
asked on
Sizing inserted video in HTML5 page -
Hi -
I'm trying to insert code for an external flash video player and the dimensions aren't working. I'm trying to get 800x400, and the width seems to work OK, however the height is limited. I have a banner above the flash player on that page. I'm not sure which part of the code needs to be tweaked, so not sure which parts to post here.
but here's the code for the flash player I'm inserting:
So I see the banner has some css elements. Not sure what is preventing the height to display correctly, but any hints appreciated much. Thanks!
I'm trying to insert code for an external flash video player and the dimensions aren't working. I'm trying to get 800x400, and the width seems to work OK, however the height is limited. I have a banner above the flash player on that page. I'm not sure which part of the code needs to be tweaked, so not sure which parts to post here.
but here's the code for the flash player I'm inserting:
<center>
<body>
<embed src="http://www.gdd.ro/gdd/flvplayer/gddflvplayer.swf" flashvars="?&autoplay=false&sound=70&buffer=4&vdo=http%3A%2F%2Fmydomain%2Ecom%2Ffolder%2Ftest%2Eflv" width="200" height="400" allowFullScreen="true" quality="best" wmode="transparent" allowScriptAccess="always" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
</body>
So I see the banner has some css elements. Not sure what is preventing the height to display correctly, but any hints appreciated much. Thanks!
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi Bill - thanks. Lots of information!
The code I posted was just a sample. I did start out with the width="800" height="400" and only the width changes. I've pasted the code on a blank HTML page and can get the proper dimensions. I've even tested it on a live HTML viewer website, and it displays properly. Just can't seem to get proper dimensions on this current one, no matter where I put it on the page. I can go wide, but not any higher than what appears to be a height of 200 or close to it.
I'm using the gdd.ro site as a temporary testing tool to see how the video will look on this page, and I'm not sure which domain it will land on, so I will switch over to a local copy of the video player once it does land somewhere. I'll use the snippet of code you gave too.
So- yeah- not sure what to check on next.
thanks again
The code I posted was just a sample. I did start out with the width="800" height="400" and only the width changes. I've pasted the code on a blank HTML page and can get the proper dimensions. I've even tested it on a live HTML viewer website, and it displays properly. Just can't seem to get proper dimensions on this current one, no matter where I put it on the page. I can go wide, but not any higher than what appears to be a height of 200 or close to it.
I'm using the gdd.ro site as a temporary testing tool to see how the video will look on this page, and I'm not sure which domain it will land on, so I will switch over to a local copy of the video player once it does land somewhere. I'll use the snippet of code you gave too.
So- yeah- not sure what to check on next.
thanks again
I suppose the next thing you would really have to look at is whether there are any constraints on the pixel dimensions or % of the <DIV> or other container that the embed code is within.
Perhaps if you could direct us to a URL where the page isn't displaying it properly, or provide the full HTML and CSS for that page, we might identify the cause. If you prefer, post the codes and make the paths/URLs generic like you did with "http://mydomain.com/folder/test.flv"
Perhaps if you could direct us to a URL where the page isn't displaying it properly, or provide the full HTML and CSS for that page, we might identify the cause. If you prefer, post the codes and make the paths/URLs generic like you did with "http://mydomain.com/folder/test.flv"
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks for the input!
Thank you delmarlocal
ASKER