Results 1 to 1 of 1
Thread: Dynamic SWF height/width
August 21st, 2007, 01:57 AM #1827B is for...'Yeh, baby!'
Dynamic SWF height/width
I'm embedding a youtube vid on a site for a client.
The parent element it's in has a percentage width, so it's of course always changing.
What I need is to have the vid's proportions stay the same (I think the width to height ratio is like, 4.25:3.75).
In Firefox, setting the object's width to 100% and leaving the other blank works fine, but not in IE.
I'm using the SWFObject - but I need to find a way to have the video show in it's normal ratio irregardless of its parent element height and width.
I also tried using the width: expression(.... for IE, but it didn't pan out.----- Blargh!!!