guardian / frontend

The Guardian DotCom.
https://theguardian.com
Other
5.85k stars 555 forks source link

Add audio data to main media for audio articles #27501

Closed oliverabrahams closed 1 month ago

oliverabrahams commented 2 months ago

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

This will allow us to add an audio player to dcr for audio articles. By passing the audio main media element through FE to dcr

What does this change?

This adds the Audio files to the main media element for audio articles. It passes the audio files and the associated fields if there is no html field or if the other functions are not returning in the get or else.

Screenshots

Before After
before after

Checklist

github-actions[bot] commented 2 months ago

Deploy build 3096 of dotcom:frontend-all to CODE

All deployment options - [Deploy build 3096 of `dotcom:frontend-all` to CODE](https://riffraff.gutools.co.uk/deployment/deployAgain?project=dotcom%3Afrontend-all&build=3096&stage=CODE&updateStrategy=MostlyHarmless&action=deploy) - [Deploy parts of build 3096 to CODE by previewing it first](https://riffraff.gutools.co.uk/preview/yaml?project=dotcom%3Afrontend-all&build=3096&stage=CODE&updateStrategy=MostlyHarmless) - [What's on CODE right now?](https://riffraff.gutools.co.uk/deployment/history?projectName=dotcom%3Afrontend-all&stage=CODE)

From guardian/actions-riff-raff.

prout-bot commented 1 month ago

Seen on FRONTS-PROD (merged by @oliverabrahams 12 minutes and 6 seconds ago)

prout-bot commented 1 month ago

Seen on ADMIN-PROD (merged by @oliverabrahams 12 minutes and 13 seconds ago)