Allow video to be expanded into lightbox
This commit is contained in:
parent
a57d30c680
commit
00cc3066a2
10 changed files with 95 additions and 9 deletions
|
@ -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 (
|
||||
|
|
Reference in a new issue