When using emfield with a colorbox trigger for video display in Drupal 7, there are horizontal and vertical scrollbars (see attached screen shot). This issue was well resolved for Drupal 6 (http://drupal.org/node/458966 and http://drupal.org/node/1050792). Since this is about Drupal 7, I thought a new issue was in order.
I searched through every module I could think of, including emfield, media, media_internet, media_brower_plus, in the hopes finding something like theme_emvideo_modal_generic() from Drupal 6 or the word 'colorbox'. My goal is to create this patch and submit it here for review. But, so far, no go.
This is a Drupal issue because with all the site conditions being the same, if you add this markup to a block:
<a href="http://www.youtube.com/embed/oeaDJYIrlik?width=640&height=390&iframe=true&autoplay=1" class="colorbox-load"><img src="/path/to/files/colorbox_thumbnails/thumbnail.jpg" alt="Alt Title" width="150" height="102"></a>
for YouTube, for instance, or this markup:
<a href="http://player.vimeo.com/video/5606758?width=640&height=390&iframe=true&autoplay=1" class="colorbox-load"><img src="/path/to/files/colorbox_thumbnails/thumbnail.jpg" alt="Kuroshio Sea" width="150" height="102"></a>
for Vimeo, the videos popup in the colorbox with no scrollbars.
Thanks
| Comment | File | Size | Author |
|---|---|---|---|
| emfield_d7_scrollbars_in_framebox.jpg | 49.86 KB | esod |