Skip to content

Remove small option for YouTube video play icon#15681

Merged
domlander merged 1 commit intomainfrom
doml/refactor-youtube-play-icon
Apr 14, 2026
Merged

Remove small option for YouTube video play icon#15681
domlander merged 1 commit intomainfrom
doml/refactor-youtube-play-icon

Conversation

@domlander
Copy link
Copy Markdown
Contributor

@domlander domlander commented Apr 9, 2026

What does this change?

Removes the small option for the play icon in Youtube cards.

Also, updates Youtube card stories to make them more similar to how they might be used. For example, a card that displays its content horizontally on mobile with the media taking up a third of the space would not play Youtube video.

Why?

It is not possible in existing containers (since the Front redesign Jan 2025) to have a situation where we'd use the small play icon for Youtube. In situations where the video is really small, we do not allow the video to be played.

An 72px play icon does feel on the large side on mobile screens, but this is existing functionality. This PR does not attempt to change this. Icon sizing for Youtube cards may be revisited in the upcoming work on self-hosted video play icons, as it would be good to have consistency.

@domlander domlander self-assigned this Apr 9, 2026
@domlander domlander added run_chromatic Runs chromatic when label is applied fronts + curation maintenance Departmental tracking: maintenance work, not a fix or a feature labels Apr 9, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 9, 2026

@github-actions github-actions Bot removed the run_chromatic Runs chromatic when label is applied label Apr 9, 2026
@domlander domlander force-pushed the doml/refactor-youtube-play-icon branch from 33ddc6a to fb5947a Compare April 9, 2026 16:19
@domlander domlander force-pushed the doml/refactor-youtube-play-icon branch from fb5947a to ec89ac4 Compare April 9, 2026 16:27
@domlander domlander marked this pull request as ready for review April 9, 2026 16:28
@domlander domlander added the run_chromatic Runs chromatic when label is applied label Apr 9, 2026
@domlander domlander changed the title Remove small option for youtube video play icon Remove small option for YouTube video play icon Apr 9, 2026
@github-actions github-actions Bot removed the run_chromatic Runs chromatic when label is applied label Apr 9, 2026
@domlander domlander merged commit 0d1c220 into main Apr 14, 2026
29 checks passed
@domlander domlander deleted the doml/refactor-youtube-play-icon branch April 14, 2026 07:37
@gu-prout
Copy link
Copy Markdown

gu-prout Bot commented Apr 14, 2026

Seen on PROD (merged by @domlander 25 minutes and 47 seconds ago) Please check your changes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fronts + curation maintenance Departmental tracking: maintenance work, not a fix or a feature Seen-on-PROD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants