Closed (duplicate)
Project:
Media: Vimeo
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Jul 2012 at 00:26 UTC
Updated:
6 Aug 2012 at 20:42 UTC
Width and height are being added to the outer-wrapper div with a style attribute. This is breaking integration with the FitVids module. Is there a reason why this inline css is needed?
I would suggest changing media_vimeo/includes/themes/media-vimeo-video.tpl.php
From:
<div class="media-vimeo-outer-wrapper" id="media-vimeo-<?php print $id; ?>" style="width: <?php print $width; ?>px; height: <?php print $height; ?>px;">
<div class="media-vimeo-preview-wrapper" id="<?php print $wrapper_id; ?>">
<?php print $output; ?>
</div>
</div>
To:
<div class="media-vimeo-outer-wrapper" id="media-vimeo-<?php print $id; ?>">
<div class="media-vimeo-preview-wrapper" id="<?php print $wrapper_id; ?>">
<?php print $output; ?>
</div>
</div>
Comments
Comment #1
RobW commentedPatch in #1715438: Update code and bring it in line with the latest Media Youtube release. Fixes numerous issues. fixes this. Works great with FitVids, as reported in its Media: Youtube version.
Marking this as a duplicate, hope you don't mind.
Comment #2
eusonic commentedThanks RobW. This is perfect.