diff --git a/static/app-strings.json b/static/app-strings.json index 9024a68f9..ef663f169 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -1012,5 +1012,6 @@ "Unable to validate your video.": "Unable to validate your video.", "Checking your video...": "Checking your video...", "Your video has a bitrate over 8 mbps. We suggest transcoding to provide viewers the best experience.": "Your video has a bitrate over 8 mbps. We suggest transcoding to provide viewers the best experience.", - "Your video may not be the best format. Use MP4s in H264/AAC format and a friendly bitrate (1080p) for more reliable streaming.": "Your video may not be the best format. Use MP4s in H264/AAC format and a friendly bitrate (1080p) for more reliable streaming." + "Your video may not be the best format. Use MP4s in H264/AAC format and a friendly bitrate (1080p) for more reliable streaming.": "Your video may not be the best format. Use MP4s in H264/AAC format and a friendly bitrate (1080p) for more reliable streaming.", + "Publishing Guide": "Publishing Guide" } \ No newline at end of file diff --git a/ui/component/publishFile/view.jsx b/ui/component/publishFile/view.jsx index df8878cc3..4f9bde212 100644 --- a/ui/component/publishFile/view.jsx +++ b/ui/component/publishFile/view.jsx @@ -47,6 +47,7 @@ function PublishFile(props: Props) { setDuration(0); setSize(0); setIsVid(false); + setOversized(false); } }, [filePath]); @@ -71,7 +72,7 @@ function PublishFile(props: Props) { function getMessage() { // @if TARGET='web' - if (oversized || Number(size) > TV_PUBLISH_SIZE_LIMIT) { + if (oversized) { return (
{__(UPLOAD_SIZE_MESSAGE)}{' '} @@ -107,7 +108,20 @@ function PublishFile(props: Props) {
); } + // @if TARGET='web' + if (!isStillEditing) { + return ( ++ {__( + 'For video content, use MP4s in H264/AAC format and a friendly bitrate (1080p) for more reliable streaming. Lbrytv uploads are restricted to 1GB.' + )}{' '} + +
+ ); + } + // @endif + // @if TARGET='app' if (!isStillEditing) { return (@@ -118,6 +132,7 @@ function PublishFile(props: Props) {
); } + // @endif } function handleFileChange(file: WebFile) {