Archived
2
0
Fork 0

Allow video to be expanded into lightbox

This commit is contained in:
blackle 2017-04-13 09:04:18 -04:00
parent a57d30c680
commit 00cc3066a2
10 changed files with 95 additions and 9 deletions

View file

@ -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 (