Page MenuHomePhabricator

Unable to preview video in Phabricator task comments and descriptions
Open, Needs TriagePublic

Assigned To
Authored By
May 25 2022, 3:57 PM
Referenced Files
F35176668: Screenshot
May 25 2022, 3:57 PM
F35176667: Untitled.mp4
May 25 2022, 3:57 PM
F35176670: Screenshot
May 25 2022, 3:57 PM



It looks like something may have regressed in configuration as we're currently in a rather strange situation.

  • Allowed upload formats include: video/mp4.
  • Allow playback formats include: video/webm.

This leads to the situation where uploading a mp4 file is allowed, but can't be displayed:

{F35176667 media=video}

Rendered as:
Screenshot (148×656 px, 14 KB)

And webm is allowed to be displayed in theory, but can't be uploaded:

Result in upload failure:
Screenshot (286×560 px, 44 KB)

I note that this works fine in the upstream Phacility install, e.g. at

I note that in our instance configuration (admin-only: we have the following, which controls whether something is displayed:

files.viewable-mime-types Default
  "video/mp4": "video/mp4",
  "video/ogg": "video/ogg",
  "video/webm": "video/webm",
  "video/quicktime": "video/quicktime",
files.viewable-mime-types Local config
-  "video/mp4": "video/mp4",
   "video/ogg": "video/ogg",
   "video/webm": "video/webm",
-  "video/quicktime": "video/quicktime",

And for upload handling,

` Default unchanged

Which suggests that webm could be uploaded, but I'm guessing it's detected as something else for some reason, aside from ofc webm being much harder to generate for most people, but that's a separate question :)