Page MenuHomePhabricator

Enable storage and display of OGV and WEBM videos on Phabricator
Closed, InvalidPublic

Description

I need to use this video for a blog post on Phame: https://upload.wikimedia.org/wikipedia/commons/0/06/Barack_Obama_article_on_enwiki_before_and_after_logo_loading_priority_change.webm

According to this, Phabricator now supports <video> tags, which only need configuration in the allowed mime types.

Aside from blogs, this would be very useful in our day-to-day work, as we regularly make small video recordings like this one to discuss performance changes in our tasks. Having them inline instead of external links would be great, especially since it prevents them from becoming dead links with time.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

(I got reminded of T75990#2384736. Did this regress or do I misunderstand?)

Possibly a regression, then, both .ogv and .webm files I try show an error when the upload reaches 100%:

Capture d'écran 2017-05-24 16.29.41.png (160×293 px, 25 KB)

Strange. It could be that it is exceeding the filesize limit but that isn't a very friendly error message.

Ok I can confirm that it's storage size limited. It's configured to a max of 4MB. I made that change last december according to the setup transaction logs. I believe it was in response to people attempting to use our phabricator instance as a free video streaming host.

This is annoying - I don't see any way to set the limit larger than 8mb without making it effectively unlimited.

@Gilles: If you can make your video just slightly smaller than 8mb then we can accommodate that. If I increase the limit beyond 8mb then phabricator will allow arbitrarily large uploads by chunking files into 8mb pieces. This is undesirable unless we intend to compete with MediaFire. It is a compelling service offering, ad-free no-cost media hosting!

Well, a higher limit (or unlimited in that case) could require special rights. But I imagine that requires upstream work, right?

Another option is allowing youtube embedding...

remarkup.enable-embedded-youtube

Indeed, I would not be apposed to that though others might not like it.

We do host all our recorded meetings on youtube in addition to commons, there would some convenience in being able to link to that... We should ask people who clean up phabricator spam/moderate it if they'd be ok with the risk of opening that up. @Aklapper what do you think? (of letting people embed youtube videos on phabricator)

Indeed I think aklapper would be the person to ask. I've added project-admins just to raise visibility a bit.

Embedding youtube videos in Phabricator would be a privacy policy violation.

I'm technically neutral; hard to foresee whether allowing embedding videos would increase unhelpful activity; but I second what Legoktm wrote about third[-]parties.

Embedding videos & images from commons/mw.org could be useful... Would sidestep both the "avoid exploding Phab storage" issue as well as the privacy policy issues.

Fair enough, re: our information leaking to google. I think that's a clear deal breaker.

@mmodell can you increase the limit to 8MB? That should allow us *some* minimal use of video until T116515 is done

@Gilles: given that we now support commons videos, does that satisfy your needs? I'm hesitant to encourage using phabricator as a video storage and streaming platform.

Absolutely, Commons embedding is more than enough for my needs.