-
- Downloads
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.
Showing
- app/assets/javascripts/components/components/media_gallery.jsx 2 additions, 1 deletion...ssets/javascripts/components/components/media_gallery.jsx
- app/assets/javascripts/components/components/video_player.jsx 2 additions, 1 deletion...assets/javascripts/components/components/video_player.jsx
- app/assets/javascripts/components/is_mobile.jsx 6 additions, 0 deletionsapp/assets/javascripts/components/is_mobile.jsx
Loading
Please register or sign in to comment