themes
themes copied to clipboard
Ippo: Embed videos not aligning full width
Steps to replicate
- Insert a Vimeo, YouTube or Dailymotion video inside a page
- Use the full-width alignment
- Check the results
Result

Expected
To have the videos go full width.
- User report: 4065466-zen
The workaround I used in my example:
/* Tempx fix for the full width videos | xxxxxx-zen rg */
.alignfull.is-provider-vimeo iframe, .alignfull.is-provider-youtube iframe {
width: 100% !important;
height: 100% !important;
}
.alignfull.is-provider-dailymotion iframe {
width: 100% !important;
}
In addition to what's mentioned above. Dailymotion videos fail to adjust the media height even after applying the workaround @robertghetau has come up with.
A screenshot of how Dailymotion videos appear ↓

I know this old but I'm adding this example here as I ran into this. It was intermittent:
- Single page with other Vimeo embeds
- One of them doesn't display at full width, can't figure out why: https://shottr.cc/s/7cqS/SCR-20220504-kurp.png
- Theme: Snaps
- Request: 5189331-zd-woothemes
Workaround
Vimeo shortcode works perfectly: https://wordpress.com/support/videos/vimeo/#embed-using-shortcode-to-adjust-size-of-video