Skip to content

WIP: Media preview proxy

Ivan Tashkinov requested to merge 2168-media-preview-proxy into develop

Closed in favor of !2933.

Rework of initial prototype from #2168 (moved).

Image and video preview proxy.

To test, visit Pleroma.Web.MediaProxy.encode_url(uri) and Pleroma.Web.MediaProxy.encode_preview_url(uri) URIs (media proxy and media preview proxy, respectively) where uri is an image or a video.

Video tested on http://techslides.com/sample-webm-ogg-and-mp4-video-files-for-html5.

WIP: most likely need to switch from using Port (!2497 (comment 70668)) and switch from streaming source media via ffmpeg (!2497 (comment 60544)).

Edited by Ivan Tashkinov

Merge request reports