diff options
author | Patrick Figel <patrick@figel.email> | 2017-04-17 12:14:03 +0200 |
---|---|---|
committer | Patrick Figel <patrick@figel.email> | 2017-04-17 12:14:03 +0200 |
commit | ffb99325cafb5b00ee652c6b3ed2811a4d643fc8 (patch) | |
tree | f2497c652aaffc64e84f7156c2cdaf2559d029f1 /config | |
parent | 1955a3f4448e1a13898c10a89e681395d6748ec3 (diff) |
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
Diffstat (limited to 'config')
-rw-r--r-- | config/locales/simple_form.en.yml | 1 | ||||
-rw-r--r-- | config/settings.yml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/config/locales/simple_form.en.yml b/config/locales/simple_form.en.yml index c25407f2b..5335b0927 100644 --- a/config/locales/simple_form.en.yml +++ b/config/locales/simple_form.en.yml @@ -28,6 +28,7 @@ en: note: Bio otp_attempt: Two-factor code password: Password + setting_auto_play_gif: Auto-play animated GIFs setting_boost_modal: Show confirmation dialog before boosting setting_default_privacy: Post privacy severity: Severity diff --git a/config/settings.yml b/config/settings.yml index 04213fd0b..9813963b2 100644 --- a/config/settings.yml +++ b/config/settings.yml @@ -15,6 +15,7 @@ defaults: &defaults open_registrations: true closed_registrations_message: '' boost_modal: false + auto_play_gif: true notification_emails: follow: false reblog: false |