Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

URL preview of animated GIF/JPEG/video should be configurable to show the animation #7915

Closed
williamkray opened this issue Jul 20, 2020 · 2 comments

Comments

@williamkray
Copy link
Contributor

related to element-hq/element-web#14567

Animated GIF sharing is often done via a URL to the image (via services like giphy or imgur). URL preview should optionally generate an animated thumbnail to use, or be configured in some cases to simply show the full-size image for those use cases.

Suggestion of this feature in Element web/desktop codebase (posted above, not my suggestion) looks like it was directed toward the synapse configuration, and so here's this feature request.

Additional functionality would be that it respects the client's settings for autoplay, but i believe that part of it would be how the client handles the information from the server, and so it is unrelated until this feature actually exists.

@anoadragon453
Copy link
Member

Related: #1278 #4347

Synapse's implementation of the media repo (which is the component that handles media requests and URL previews) does not currently support animated gif thumbnails.

Offhand: you may be interested in matrix-media-repo, which does support animated thumbnails.

@anoadragon453
Copy link
Member

I'm going to close this issue as a duplicate of #1278 as the thumbnails generated for both usecases run through the same code path.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants