Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm not sure why the width and height of the video player need to be forced to have pixel dimensions in this module's views settings... it makes embeds un-responsive as you can't override the dimensions of a video player then via CSS from what we've seen.
Any quick way to let the views brightcove field display take the dimensions from brightcove rather than forcing an override through the VIews UI?
q./
Comments
Comment #2
designguru CreditAttribution: designguru as a volunteer commentedLooks like this is because the module is using the field instead of the iframe method (which lets you use CSS to determine the dimensions of an embed) re: https://docs.brightcove.com/en/perform/brightcove-player/guides/sizing-t...
True? Work around?
q./
Comment #3
tamasd CreditAttribution: tamasd at Pronovix commentedWe use a video tag in a way that we can only specify dimensions in pixels. I am hesitant to change this, because a lot of 3rd party styling might break, and such a change would require a new major version.
The best solution to fix this issue would be to create alternative field formatters - please feel free to submit a patch. The easier route would be to override brightcove-field-embed.tpl.php.
Comment #4
tamasd CreditAttribution: tamasd at Pronovix commentedI created an iframe-based field formatter. It is in dev, it will be available with 7.x-6.5.