Skip to content
This repository was archived by the owner on Mar 13, 2024. It is now read-only.
This repository was archived by the owner on Mar 13, 2024. It is now read-only.

[BUG] YouTube videos break out of their container width #156

@jjsanderson

Description

@jjsanderson

Describe the bug
A video embedded from YouTube breaks out of the container width, spanning to the right of the window.

To Reproduce
Steps to reproduce the behaviour:

  1. Add a video component, referencing a YouTube URL
  2. Publish page, view page as served.
  3. See huge video spanning to the right of the window.

Expected behaviour
Videos have consistent widths, irrespective of source (ie. locally-hosted or embedded from third-party site).

Additional context
Video embed size is a really common issue for Wordpress themes, and the web in general. It's often useful to be able to force 4:3 or 16:9 embed size ratios, though neither can be relied upon. On occasion, YouTube will do something utterly insane, like serve a 16:9 video letterboxed in a 4:3 frame but labeled as 16:9 content. Ugh.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions