Page MenuHomePhabricator

videojs player icons can become cramped, especially on vertical videos
Open, Needs TriagePublic

Description

You can see the issue at https://en.wikipedia.org/wiki/Template:Did_you_know_nominations/2022_University_of_California_academic_workers%27_strike

This is also an interface problem, as shown on Special:Search:

Screenshot 2022-12-01 at 23-50-36 Fair UC Now - Search results - Wikipedia.png (204×733 px, 70 KB)

On the DYK nom talk page @RoySmith explains:

... At the size it ends up on the front page, there's a big "CC" logo near the top, a play button in the middle, and a "0:14" legend naar the bottom. Between the three, you really can't recognize what it is.

(from https://en.wikipedia.org/wiki/Template_talk:Did_you_know_nominations/2022_University_of_California_academic_workers%27_strike)

TheDJ, Amir suggested I cc you on whether it makes sense to change this behavior for vertical videos or have some of the icons disappear when the video is small.

I note that on the article itself, https://en.wikipedia.org/w/index.php?title=2022_University_of_California_academic_workers%27_strike&oldid=1125096771, there's enough space so the player works fine.

Event Timeline

What would be lovely is if we could have an option to loop videos on DYK without a play button at all – the way we do for GIFs. Obviously, it'd have to begin playing while muted and there'd be a button to unmute and all that.

What would be lovely is if we could have an option to loop videos on DYK without a play button at all – the way we do for GIFs. Obviously, it'd have to begin playing while muted and there'd be a button to unmute and all that.

This is T116501: [[File:]] keyword for silent, looped autoplay videos (GIF-like behavior) :)

Hmm. I guess that portrait layout was never really considered indeed.

What would be an appropriate solution ? Not show that information in portrait ? Make it smaller ?

Also, have we considered that maybe this is a just no longer an appropriate size for a main page thumbnail ? It seems that core content thumbnail sizes have gone up several times over the last ten years, but that main page of en.wp hasn't really followed that trend.

I assume the CC button turns on closed captioning? Given that it's going to be illegable at this small size, I don't see the need for the button at all. And showing the user how long the clip is (0:14) seems secondary to me, so I'd leave that out below some size threshold.

I assume the CC button turns on closed captioning?

No, it just indicates that this clip has closed captioning available.