Page MenuHomePhabricator

Enable TimedMediaHandler video player in articles on mobile (instead of hyperlink to unplayable video)
Open, NormalPublic

Description

Currently, on mobile, if you embed a video in an article, there will only be a link (called "Play media") and it directly links to the .ogv video, instead of using our ogv.js player.

Example: https://en.m.wikipedia.org/wiki/User:Fireattack/sandbox/ogv_video

This causes problem on Chrome Android browser (which should be the dominant browser on this platform) since they don't have a native Theora decoder, nor do they plan to ship one. The users end up not be able to see the video.

The video plays fine when it's in-line of the "File:" page, because of the JS player I assume.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFeb 25 2019, 7:49 PM
alexhollender triaged this task as Normal priority.Feb 25 2019, 9:01 PM
alexhollender moved this task from Needs triage to Triaged on the Mobile board.
TheDJ moved this task from Backlog to Player on the TimedMediaHandler board.May 8 2019, 11:22 AM
TheDJ added a subscriber: TheDJ.

This is blocked on finalizing the video.js player

Krinkle renamed this task from Use JS player for video playback on mobile when opening from an article, instead of directly linking to the video to Enable TimedMediaHandler video player in articles on mobile (instead of hyperlink to unplayable video).Jun 24 2019, 4:11 PM
brion added a subscriber: brion.Jun 24 2019, 5:34 PM

Note that with the "New video player" beta feature enabled, this can be tested in production -- just make sure you're logged in in the mobile browser and it will pick up the preference.

There may be control-size issues which still have to be worked out.