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!
Comment | File | Size | Author |
---|---|---|---|
#2 | brightcove-css-thumbnail-fix-2210757-1.patch | 781 bytes | ladybug_3777 |
Comments
Comment #1
ladybug_3777 CreditAttribution: ladybug_3777 commentedI'm am going to attempt to write my first patch using this simple issue, so hopefully I'll have it added soon.
Comment #2
ladybug_3777 CreditAttribution: ladybug_3777 commentedOK hopefully this patch worked. It's my first so we'll see how it goes!
Comment #3
ladybug_3777 CreditAttribution: ladybug_3777 commentedComment #4
k.dani CreditAttribution: k.dani commentedThank you for your patch, it has been added to the latest dev version (Commit c3c83f2 on 7.x-5.x).