1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-03 01:08:23 +09:00
mastodon/app/assets/javascripts/components
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
..
actions Onboarding modal (#1883) 2017-04-16 20:32:00 +02:00
components Add gif auto-play/pause preference 2017-04-17 12:14:03 +02:00
containers Add gif auto-play/pause preference 2017-04-17 12:14:03 +02:00
features Add gif auto-play/pause preference 2017-04-17 12:14:03 +02:00
locales Fix translation related to "mute" (#1926) 2017-04-16 16:07:58 +02:00
middleware Add eslint-plugin-jsx-a11y (#1651) 2017-04-15 13:27:27 +02:00
reducers Onboarding modal (#1883) 2017-04-16 20:32:00 +02:00
selectors Avoid re-loading already loaded relationships. Also fixes issue where wrong 2017-04-02 22:02:38 +02:00
store Replace howler.js with simple <audio />, will hopefully resolve 2017-03-13 17:12:30 +01:00
.gitkeep Adding React.js, Redux, revamping dashboard 2016-08-24 17:56:44 +02:00
api.jsx Fix #1491 - Fix broken notifications, broken Link header parsing for exclude_types (#1548) 2017-04-11 22:53:58 +02:00
emoji.jsx Improve emojis - use SVGs where possible 2017-03-29 22:27:24 +02:00
is_mobile.jsx Try to detect iOS and *not* autoplay any videos 2017-03-07 09:54:57 +01:00
link_header.jsx Add eslint-plugin-jsx-a11y (#1651) 2017-04-15 13:27:27 +02:00
rtl.jsx Fix #186 - Add RTL support to the compose form textarea and statuses output 2017-02-28 01:52:31 +01:00
stream.jsx Send initial state in a <script type="application/json"> tag (#1806) 2017-04-15 02:32:42 +02:00