Commit 202ee5fd authored by feld's avatar feld
Browse files

Add note about video thumbnails for code spelunkers unfamiliar with Media Preview Proxy

parent 6aa7fc15
Pipeline #36559 passed with stages
in 6 minutes and 16 seconds
......@@ -129,6 +129,8 @@ defp maybe_add_dimensions(metadata, url) do
# Media Preview Proxy makes thumbnails of videos without resizing, so we can trust the
# width and height of the source video.
defp maybe_add_video_thumbnail(metadata, url) do
cond do
Pleroma.Config.get([:media_preview_proxy, :enabled], false) ->
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment