summaryrefslogtreecommitdiffstats
path: root/web/react/utils
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2015-09-25 11:01:31 -0700
committerCorey Hulen <corey@hulen.com>2015-09-25 11:01:31 -0700
commit63960fae0996c3dc09a55efab9654893190460d9 (patch)
treea5145fa3706fbfeed2557d2412e577cc01bb80a3 /web/react/utils
parent73cdee70d7bcba367ff006ce1ce6a6d50ccbf3e7 (diff)
parenta20c63ff35f6407d232f7e1d7dcbd3caeb74492e (diff)
downloadchat-63960fae0996c3dc09a55efab9654893190460d9.tar.gz
chat-63960fae0996c3dc09a55efab9654893190460d9.tar.bz2
chat-63960fae0996c3dc09a55efab9654893190460d9.zip
Merge pull request #811 from mattermost/plt-45
PLT-45 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',