Page MenuHomePhabricator

Video player should not aggressively overlay played videos with share links
Closed, ResolvedPublic

Description

When viewing images, the "share image" links are a subtle option.
When viewing videos, the last frame gets an overlay which may be covering important information (as in some interface screencasts: example). This is unnecessary and too agressive.

Screenshot 2026-02-02 at 18-06-57 File CoolCat paste and parse category actions.webm – Wikimedia Commons.png (919×622 px, 79 KB)

Event Timeline

On mobile it gets even worse: it's animated, and after a few seconds it covers Media viewer's own exit button

TheDJ renamed this task from MediaViewer should not agressively overlay played videos with share links to Video player should not aggressively overlay played videos with share links.Apr 15 2026, 12:16 PM
TheDJ edited projects, added: VideoJS player; removed: MediaViewer.

I was just trying to pause a video and study the still image, but the overlay obscured the details I was interested in.
For me, just being able to close the share overlay would have been good enough.

I'll see if I have some time for this during the hackathon.

@Ponor one of your files is not attached publicly to the ticket, can you fix that ? It's a bug, you can find here how to fix it: https://www.mediawiki.org/wiki/Phabricator/Help#File_visibility

TheDJ moved this task from Inbox to Next on the User-TheDJ board.

The share button and the pop-up dialog when viewing images are as simple and out of the way like this:

Screenshot_20260428-085413.png (627×733 px, 141 KB)

I mean... The share and embed options are used, what, close to never?

Change #1281433 had a related patch set uploaded (by TheDJ; author: TheDJ):

[mediawiki/extensions/TimedMediaHandler@master] Make the endcard dismissable with click and esc

https://gerrit.wikimedia.org/r/1281433

Change #1281433 merged by jenkins-bot:

[mediawiki/extensions/TimedMediaHandler@master] Make the endcard dismissable with click and esc

https://gerrit.wikimedia.org/r/1281433

TheDJ claimed this task.

I've made it dismissable. Once we switch to the new videojs version somewhere later this year, I will have to do a lot of modifications, and i'll probably change the share flow to be even less intrusive.