Video embed widget no longer full width or full height
-
I’m using a video embed widget (comes as standard with WordPress core) to embed a Vimeo video into a fairly narrow space. Scroll about half way down the listed link page on a large screen and look for the ‘Keynote speaker’ section on the right.
The video widget isn’t new on this page and the video used to stretch the full width of it’s container. Since 5.5, the video doesn’t fill up all the space and has the dark grey border around the edge of it. It seems to stretch ok when in a bigger space though.
I’ve tested this problem on a few different themes to be sure it’s not my code and I don’t think it is. Both the TwentyTwenty and Neve themes are doing the same thing. Also similarly with plugins, I have tested this on a vanilla WP install with no plugins and I have the same issue.
I’ve had a look through the CSS and it seems on the
.player
class buried within the<iframe>
tag itself there is inline output of amax-width
andmax-height
attribute. Getting rid of these seems to be resolve the issue and the video stretches again as I want.Any ideas on how to resolve this as I’m not sure the best way to get rid of the inline stying or to override it?
The page I need help with: [log in to see the link]
- The topic ‘Video embed widget no longer full width or full height’ is closed to new replies.