]> cat aescling's git repositories - mastodon.git/commit
Try to detect iOS and *not* autoplay any videos
authorEugen Rochko <eugen@zeonfederated.com>
Tue, 7 Mar 2017 08:54:57 +0000 (09:54 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Tue, 7 Mar 2017 08:54:57 +0000 (09:54 +0100)
commit47bf592db786107f0cdc67b98f55c947acdb5a51
treeef04324b78e235c8f210bbf96806ccaddb90608d
parent1fb3e8988b017155a9c23f19afa162b58e11590d
Try to detect iOS and *not* autoplay any videos

Technically the check for iOS from components is a side effect, because it's
neither in state nor props, but the user agent does not change, so I think
that's okay.
app/assets/javascripts/components/components/media_gallery.jsx
app/assets/javascripts/components/components/video_player.jsx
app/assets/javascripts/components/is_mobile.jsx