dotcom-rendering icon indicating copy to clipboard operation
dotcom-rendering copied to clipboard

Hide duration on small video card

Open cemms1 opened this issue 1 year ago • 1 comments

Duration pill takes up a lot of space on the video thumbnail in the following screenshot:

image

We should consider removing the timestamp on these small thumbnails.

Additionally, we should consider removing the "hour" part of the timestamp if the video is shorter than one hour (which most of them are)

ie hh:mm:ss becomes mm:ss

This will align the design better with apps

cemms1 avatar Feb 16 '24 17:02 cemms1

I think it may be broken only for some containers (paletted ones?). Compare this (correct) and that (broken).

paperboyo avatar Feb 23 '24 05:02 paperboyo

closing as this was resolved by https://github.com/guardian/dotcom-rendering/pull/11038

abeddow91 avatar Jun 12 '24 09:06 abeddow91