Skip to content

Fix the rendering of a Vimeo video in a Hosted content article#16091

Draft
deedeeh wants to merge 4 commits into
mainfrom
dina/fix-hosted-article-vimeo-embed
Draft

Fix the rendering of a Vimeo video in a Hosted content article#16091
deedeeh wants to merge 4 commits into
mainfrom
dina/fix-hosted-article-vimeo-embed

Conversation

@deedeeh

@deedeeh deedeeh commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

What does this change?

This PR fixes the EmbedBlockElement Vimeo video which exists in a Hosted Content article in DCAR as it's currently not visible on the page or in the DOM.

There are two different scenarios in Hosted Content:

  • An EmbedBlockElement that shows a map or something similar.
  • An EmbedBlockElement which could be a video like Vimeo

We need to check in the first case if we have a width coming from the data and if not we set a fallback of 100% and the height will be adjusted accordingly.

The second case we need to update the iframe height based on the viewport which what some existing components do as well to adjust the height of the embed.

There might be more edge cases coming along the way and we just need to update our logic to accommodate as much scenarios as possible.

Why?

Show Vimeo videos rendered as EmbedBlockElement in Hosted Content DCAR.

Screenshots

Before After
before after
before2 after2

@deedeeh deedeeh added the fix Departmental tracking: fix label Jun 8, 2026
@deedeeh deedeeh force-pushed the dina/fix-hosted-article-vimeo-embed branch from a69e6de to 059cb00 Compare June 8, 2026 15:11
@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown

@deedeeh deedeeh force-pushed the dina/fix-hosted-article-vimeo-embed branch 2 times, most recently from 7adf19e to 37df64a Compare June 11, 2026 10:46
@deedeeh deedeeh changed the title Add an island for the HostedEmbedBlockComponent Fix the rendering of a Vimeo video in a Hosted content article Jun 15, 2026
@deedeeh deedeeh force-pushed the dina/fix-hosted-article-vimeo-embed branch from 37df64a to 619fef2 Compare June 15, 2026 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Departmental tracking: fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant