[Glitch] Responsively enforce 16:9 ratio on video thumbnails in web UI

Port the video-player part of 036dd98abb to
glitch-soc. MediaGallery part ignored since it has diverged quite a bit.

This fixes #423
This commit is contained in:
Thibaut Girka committed 2018-04-14 17:35:45 +02:00
1 parent c5dd4ed1d5
commit 5d96c5ac41
4 files changed
+25 -4

No files matched your search

@@ -326,6 +326,7 @@ export default class Status extends ImmutablePureComponent {
{Component => (<Component
preview={video.get('preview_url')}
src={video.get('url')}
inline
sensitive={status.get('sensitive')}
letterbox={settings.getIn(['media', 'letterbox'])}
fullwidth={settings.getIn(['media', 'fullwidth'])}