Automatic movie and flash resize

Page: 1

Author Post
quim
Guest
Every time I open a picture, floatbox sizes automatically to show the picture in it's original size. That's perfect.

But If I open a mpg video or swf flash, floatbox assumes always the same size (unless I force a different size). Is there a way to show this media in their original sizes? I play a bit with autosize options but without results.

Regards
Administrator
Registered: Aug 2008
Posts: 3382
The autoSizeImages and autoSizeOther options scale over-sized items down to fit the maximum viewable screen dimensions. This is different than native size detection. Images are the only content format that report their native dimensions to the browser and hence to javascript. All other content, including flash and mpg, arrive in the browser with no mechanism to auto-detect their native dimensions. This is why for all content other than images (that is, for multi-media or html) you need to provide desired width and height parameters.

Page: 1