guardian / guardian/dotcom-rendering
Updating article main media video isn't reflected on front
- Dominant language
- TypeScript
- Stars
- 274
- Forks
- 34
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 121
Description
Replacing an article's main media video with an image doesn't cause an update to the article card on a front.
**Steps to reproduce:**
- Create an article with a video as the main media type
- Update a front so that this article is most prominent, so that you can see the main media on the front
- Update the article so that the main media is now an image
**Expected behaviour**
- On the front, the main media should now be the updated image
**Actual behaviour**
- On the front, the main media is still the old video, but the placeholder is the updated image
Video: https://drive.google.com/file/d/1v6-Nvg2E4uhe702pvqEwYEl_OoUpAVW5/view?usp=sharing
_CP: Looks like this may be a bug in the system (unsure if tools issue or dotcom). Imogen had removed a [video](https://www.theguardian.com/australia-news/live/2024/jun/21/australia-news-live-peter-dutton-nuclear-power-anthony-albanese-facebook-scrutiny-journalism-ndis-labor?page=with:block-6674ad658f08035ce49e7ab4#block-6674ad658f08035ce49e7ab4) from the front and had replaced it with a standard image, but the front was still linking the old video. In the fronts tool the 'show video' label was underneath the new grid image, however the 'show video' button was not turned on. When I flicked DCR off, it appeared correctly._
_I ended up fixing the issue by removing the image and replacing it with a brand new crop, which removed the play button on the front and 'show video' label in the tool_
Respond to thread once resolved: https://mail.google.com/mail/u/0/#all/FMfcgzQVxHfBTsjLCBltMXDVzflWfkdM
Contributor guide
Assessment
This issue has not been assessed yet.