When using the brightcove field I noticed the dialog box is showing the thumbnail stills of my videos in lots of different sizes. Some are huge and some are tiny. This wasn't an issue in the older version and I tracked it down to being a problem in the css.

File: brightcove/brightcove_field/styles/browse.css

The file is referencing the old video-image class instead of the new brightcove-image class. I'm sorry I still need to figure out how to write a proper patch, but this is the change that fixes that:

REMOVE:
.brightcove-browse-table .video-image img { max-width: 120px; max-height: 120px; border: 1px solid #dddddd; overflow: none; vertical-align: center; }

ADD:
.brightcove-browse-table .brightcove-image img { max-width: 120px; max-height: 120px; border: 1px solid #dddddd; overflow: none; vertical-align: center; }

And everything looks much better!

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ladybug_3777’s picture

I'm am going to attempt to write my first patch using this simple issue, so hopefully I'll have it added soon.

ladybug_3777’s picture

OK hopefully this patch worked. It's my first so we'll see how it goes!

ladybug_3777’s picture

Status: Active » Needs review
k.dani’s picture

Status: Needs review » Closed (fixed)

Thank you for your patch, it has been added to the latest dev version (Commit c3c83f2 on 7.x-5.x).