themes icon indicating copy to clipboard operation
themes copied to clipboard

Ippo: Embed videos not aligning full width

Open Robertght opened this issue 5 years ago • 2 comments

Steps to replicate

  1. Insert a Vimeo, YouTube or Dailymotion video inside a page
  2. Use the full-width alignment
  3. Check the results

Result

image

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;
}

Robertght avatar Jun 15 '21 19:06 Robertght

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 ↓

image

bawva avatar Jun 18 '21 14:06 bawva

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

cintacks avatar May 04 '22 14:05 cintacks