summaryrefslogtreecommitdiffstats
path: root/web/react/utils
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2015-09-25 12:55:27 -0400
committerJoramWilander <jwawilander@gmail.com>2015-09-25 12:55:27 -0400
commita20c63ff35f6407d232f7e1d7dcbd3caeb74492e (patch)
treec730ccdf292f3f9fc34383aa16c7fa5b9fcd3fb8 /web/react/utils
parentf75475d3d053b6f9c4f28de2823302f439f3aec3 (diff)
downloadchat-a20c63ff35f6407d232f7e1d7dcbd3caeb74492e.tar.gz
chat-a20c63ff35f6407d232f7e1d7dcbd3caeb74492e.tar.bz2
chat-a20c63ff35f6407d232f7e1d7dcbd3caeb74492e.zip
Force videos to be set dimensions.
Diffstat (limited to 'web/react/utils')
-rw-r--r--web/react/utils/constants.jsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/react/utils/constants.jsx b/web/react/utils/constants.jsx
index 8c9e1ee85..40d52c165 100644
--- a/web/react/utils/constants.jsx
+++ b/web/react/utils/constants.jsx
@@ -72,6 +72,10 @@ module.exports = {
MAX_FILE_SIZE: 50000000, // 50 MB
THUMBNAIL_WIDTH: 128,
THUMBNAIL_HEIGHT: 100,
+ WEB_VIDEO_WIDTH: 640,
+ WEB_VIDEO_HEIGHT: 480,
+ MOBILE_VIDEO_WIDTH: 480,
+ MOBILE_VIDEO_HEIGHT: 360,
DEFAULT_CHANNEL: 'town-square',
OFFTOPIC_CHANNEL: 'off-topic',
GITLAB_SERVICE: 'gitlab',