Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add id to AudioBlockElement to fix missing media-id for audio assets on DCR rendered podcast pages #27686

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

arelra
Copy link
Member

@arelra arelra commented Dec 23, 2024

What is the value of this and can you measure success?

Add id to AudioBlockElement to fix missing media-id for audio assets on DCR rendered podcast pages

What does this change?

Following the Frontend approach

data-media-id="@audio.elements.mainAudio.map(_.properties.id)"

Unfortunately the id is applied at quite a high level in the DotcomRenderingDataModel call stack as we need content.elements available in order to pull out the id.

Screenshots

After

Checklist

  • Tested locally, and on CODE if necessary
  • Will not break dotcom-rendering

@arelra arelra requested a review from a team as a code owner December 23, 2024 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants