Site logo

Archived topic

videoblock problem in wordpress 5.7

3 replies · Started by Toni on March 10, 2021

Viewing posts 1–4 of 4

Today updated wordpress to 5.7 and when add a hosted video with gutenberg, the video appears 100% width. I limit the video to 550 pixels, but appears at full width.

For example:
<figure class="wp-block-video aligncenter"><video controls="" poster="domain.com/poster.jpg" src="domain.com/video.mp4" width="550"></video></figure>

this code has always appeared at 550 pixels wide, but since the 5.7 wp update, appears full 100% width.

Thanks for your help.

Hi Toni,

Can you test if the same issue occurs in a Twenty series WP theme?

Let me know :)

yes, in Twenty Nineteen and
Twenty Seventeen also happens.

That means it's a WordPress issue so they will need to fix it.

This archived topic is closed to new replies.