diff options
author | blackle <isabelle@blackle-mori.com> | 2017-04-13 09:04:18 -0400 |
---|---|---|
committer | blackle <isabelle@blackle-mori.com> | 2017-04-13 09:09:45 -0400 |
commit | 00cc3066a2781f1cc21b23677e797c7bfa9a2f6b (patch) | |
tree | 981cc202ad779b254f45e793d19178bc615e5e25 /app/assets/javascripts/components/features/ui/components/media_modal.jsx | |
parent | a57d30c6800eb3ebe15b0398d5f542527faa47f9 (diff) |
Allow video to be expanded into lightbox
Diffstat (limited to 'app/assets/javascripts/components/features/ui/components/media_modal.jsx')
-rw-r--r-- | app/assets/javascripts/components/features/ui/components/media_modal.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/features/ui/components/media_modal.jsx b/app/assets/javascripts/components/features/ui/components/media_modal.jsx index 35eb2cb0c..130f48b46 100644 --- a/app/assets/javascripts/components/features/ui/components/media_modal.jsx +++ b/app/assets/javascripts/components/features/ui/components/media_modal.jsx @@ -111,7 +111,7 @@ const MediaModal = React.createClass({ if (attachment.get('type') === 'image') { content = <ImageLoader src={url} imgProps={{ style: { display: 'block' } }} />; } else if (attachment.get('type') === 'gifv') { - content = <ExtendedVideoPlayer src={url} />; + content = <ExtendedVideoPlayer src={url} muted={true} controls={false} />; } return ( |