[wp-trac] [WordPress Trac] #49030: Twenty Twenty: video resize functionality also impacts other elements on the page
WordPress Trac
noreply at wordpress.org
Wed Dec 18 17:34:13 UTC 2019
#49030: Twenty Twenty: video resize functionality also impacts other elements on
the page
---------------------------+-----------------------------
Reporter: jeherve | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version: 5.3
Severity: normal | Keywords: has-patch
Focuses: |
---------------------------+-----------------------------
Twenty Twenty bundles a functionality named "Intrinsic Ratio Embeds",
allowing videos ({{{iframe}}}, {{{object}}}, {{{video}}}) to be
automatically resized on demand.
This is practical, but can be problematic for some elements on the page
that may not behave like a video, or that may not be in the post content
at all.
While plugins can use the {{{.intrinsic-ignore}}} CSS class to avoid being
impacted by this, I wonder if we could be a bit more specific within the
theme, and only target videos inside the post content. This would avoid
conflicting with plugins adding iFrames and / or videos outside of the
post content, like in widgets.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49030>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list