WSTEAM1-733 Display audio on the Live Page
Resolves JIRA WSTEAM1-733 Overall changes
Displays audio within live page posts
Code changes
- adds
audiorendered with theMediaLoadertocomponentsToRenderwithinPost - adds fixture data and unit test
Testing
- Visit http://localhost.bbc.com:7081/mundo/live/cemn2qq3x8vt?renderer_env=test and find the post with embedded audio. Observe the working audio player, make sure it looks correct and functions. (Media playing twice is a react re-rendering issue and is expected, it works fine not on local)
Helpful Links
Add Links to useful resources related to this PR if applicable.
Noticed the background colour inside of a Post, is that ok with UX?
Noticed the background colour inside of a Post, is that ok with UX?
good question !! will check with them
Looks good. Is the design of the audio different to https://github.com/bbc/simorgh/pull/12031#issuecomment-2393871630? Or are UX ok with that?
Looks good. Is the design of the audio different to #12031 (comment)? Or are UX ok with that?
It looks like the background has been updated now to match the background colour of the post. I've added a UX Review subtask to the ticket, and put this code on preview 1+2 so that we can check this and all other pages which have an audio player (WORLDSERVICE-908)
