Hey gang.

I noticed that swfobject2 does not support setting the height or width to 100%. I did work around this however by:

1) Removing any mention of height or width in the swf() function call.
2) adding to line 68 of swfobject2.module:

$vars->params['width'] = '100%';

This does, of course, force every swf object to be 100% width.

Is swfobject2 going to deal with percentages of height and width? Is something being parsed incorrectly?

Comments

smudboy’s picture

I also noticed if I just use only
$vars->params['height'] = '100%';
instead of width, nothing gets displayed.

Stuart Greenfield’s picture

Status: Active » Needs review

DRUPAL-6--3 lets you supply % heights if you want. Setting to needs review so I remember to close this when new release is made.