From 3b20104261e65ae8047f828b36e9b035b9cb36b4 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Tue, 20 Oct 2020 13:12:03 -0400 Subject: [PATCH] bump allowed upload size to 2gb on web --- static/app-strings.json | 2 +- ui/component/publishFile/view.jsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/static/app-strings.json b/static/app-strings.json index c87e5a313..450a80104 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -1059,7 +1059,7 @@ "minute": "minute", "hours": "hours", "hour": "hour", - "%SITE_NAME% uploads are limited to 1 GB. Download the app for unrestricted publishing.": "%SITE_NAME% uploads are limited to 1 GB. Download the app for unrestricted publishing.", + "%SITE_NAME% uploads are limited to 2 GB. Download the app for unrestricted publishing.": "%SITE_NAME% uploads are limited to 2 GB. Download the app for unrestricted publishing.", "Connected": "Connected", "Not connected": "Not connected", "this link": "this link", diff --git a/ui/component/publishFile/view.jsx b/ui/component/publishFile/view.jsx index 74e0e5356..54a1f4493 100644 --- a/ui/component/publishFile/view.jsx +++ b/ui/component/publishFile/view.jsx @@ -76,9 +76,9 @@ function PublishFile(props: Props) { const [userOptimize, setUserOptimize] = usePersistedState('publish-file-user-optimize', false); const RECOMMENDED_BITRATE = 6000000; - const TV_PUBLISH_SIZE_LIMIT: number = 1073741824; + const TV_PUBLISH_SIZE_LIMIT: number = 2147483648; const UPLOAD_SIZE_MESSAGE = __( - '%SITE_NAME% uploads are limited to 1 GB. Download the app for unrestricted publishing.', + '%SITE_NAME% uploads are limited to 2 GB. Download the app for unrestricted publishing.', { SITE_NAME } ); const PROCESSING_MB_PER_SECOND = 0.5;