1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-01 00:08:21 +09:00
mastodon/app/assets/javascripts
Patrick Figel ffb99325ca Add gif auto-play/pause preference
This introduces a new per-user preference called
"Auto-play animated GIFs", which is enabled by default. When a
user disables this setting, gifs in toots become click-to-play.

Previews of animated gifs were changed to display the video play
button so that users can distinguish them from regular images.

This setting also affects account avatars in the detailed account
view, which was changed to use the same hover-to-play mechanism
that is used for animated avatars in timelines.

Fixes #1652
2017-04-17 12:14:03 +02:00
..
components Add gif auto-play/pause preference 2017-04-17 12:14:03 +02:00
application_public.js Migrate from ledermann/rails-settings to rails-settings-cached which allows global settings 2017-01-12 20:46:24 +01:00
application.js Make the streaming API also handle websockets (because trying to get the browser EventSource interface to 2017-02-04 00:34:31 +01:00
components.js Add an Intl polyfill 2016-11-17 16:34:36 +01:00
extras.jsx Fix #700 - hide spoilers on static pages 2017-03-31 13:54:36 +02:00