Page MenuHomePhabricator

Allow video embeds in formats other than OGV (e.g. WEBM)
Open, Needs TriagePublic


I humbly request that we allow video embeds in formats other than OGV. The Theora coding it uses produces relatively large files that often run afoul of the ~4 MB file size limit on Phabricator (or alternatively, extremely ugly files).

Could we allow embedding for some other file type as well, e.g. WEBM? WEBM file format is also free and widely supported by browsers, like OGV, and it uses much better coding (VP8/VP9).

For your reference, here's a bunch of tiny videos in different formats. Only the OGV video is embedded, the others are shown as links.

(generated from using ffmpeg -i Lunar_libration_with_phase2.gif Lunar_libration_with_phase2.webm etc.)

GIF (heh)

Event Timeline

matmarex created this task.Feb 5 2019, 10:29 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFeb 5 2019, 10:29 PM

People are using GIFs instead, because no one wants to spend 15 minutes every time re-encoding an OGV until you get one that is <4 MB and not utterly messed up by the encoder, and it makes me sad :( T210630#4949865 T215361

Change 569627 had a related patch set uploaded (by Zoranzoki21; owner: Zoranzoki21):
[operations/puppet@production] Add .webm in files.viewable-mime-types of Phabricator

Niedzielski added a subscriber: Niedzielski.