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.
Is there a way to resize the embedded player in my Drupal site? I have successfully added video and it seems to be working beautifully, however I can't seem to locate where I might be able to resize the embedded player. I've tried to customize the embed code and copy and paste that rather than just enter the URL in the embed field. But those custom resize settings don't seem to carry over to the displayed player on my site. Is there a way to adjust the dimensions? If not is this a feature that would be included in a future release?
Comments
Comment #1
geerlingguy CreditAttribution: geerlingguy commentedYou should be able to change the size of the video embed on your field settings page (if you're using an embedded media field), or the input filter settings page (if you're using an embedded media input filter).
Note that this is a universal setting for all embeds - if you need to control the size of a video for each embed, you'll need to do that manually by embedding the code inside your body field (or elsewhere).
Comment #2
jonscyu CreditAttribution: jonscyu commentedGreat! thanks! Everything seems to be working quite magically now.
Comment #3
yan CreditAttribution: yan commentedFor some reasons the field settings are ignored in my case when the video has a different aspect ratio. Is there some other place where settings need to be made?
Comment #4
yan CreditAttribution: yan commentedAny ideas? Anyone?
Comment #5
rcross CreditAttribution: rcross commentedI can confirm yan's issue.
When I change any of the default values like player size or thumbnail size, they don't get saved. I think this might be a larger issue because it also doesn't save when I enable vimeo as a provider for that field. (Vimeo is the only provider for the site I'm building).
Comment #6
hockey2112 CreditAttribution: hockey2112 commentedSame issue here, using 7.2.x dev version. Youtube videos respect the embed size I set for the file type; Vimeo seems to ignore it entirely. Any ideas?