mirror of
https://github.com/discourse/discourse.git
synced 2025-02-24 01:31:54 +08:00

This change ensures we use the base62 sha1 for videos when quoting because this is what the composer is used to using. With a valid base62 sha1 the composer already knows how to fetch the placeholder image for it. Fallbacks have been created to continue to support the old way as well as a fix for the old way so that the thumbnail continues to display when quoting. These fallbacks are in place so that we don't have to rebake all posts that contain videos. If we ever do that we may remove these fallbacks.