I had a similar problem in the past where I had 100's of .flv files of
different sizes and what I came up with was to give the containing
<div> element an id like <div class="videoauto"
id="videoABCx360x240"></div>...  then the javascript would search the
page for all div's with the "videoauto" class and then it would grab
and parse the ID of the div to find the height and width.. in this
case the width would be 360 and the height 240.

Then I would set the embed js to be width 100% and height 100% which
lets it stretch to the containing div.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to