From fe69ef2c90fc029125c54926ad125e7d9a5d07bb Mon Sep 17 00:00:00 2001 From: zeppi Date: Wed, 14 Apr 2021 13:45:45 -0400 Subject: [PATCH] allow non video selection when not odysee --- ui/component/publishFile/view.jsx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/ui/component/publishFile/view.jsx b/ui/component/publishFile/view.jsx index 02500b6c8..5c712eb6f 100644 --- a/ui/component/publishFile/view.jsx +++ b/ui/component/publishFile/view.jsx @@ -1,5 +1,5 @@ // @flow -import { SITE_NAME, WEB_PUBLISH_SIZE_LIMIT_GB } from 'config'; +import { SITE_NAME, WEB_PUBLISH_SIZE_LIMIT_GB, SIMPLE_SITE } from 'config'; import type { Node } from 'react'; import * as ICONS from 'constants/icons'; import React, { useState, useEffect } from 'react'; @@ -512,13 +512,13 @@ function PublishFile(props: Props) { {fileSelectSource === SOURCE_UPLOAD && showFileUpload && ( <> {getUploadMessage()} @@ -617,8 +617,7 @@ function PublishFile(props: Props) { currentPath={currentFile} onFileChosen={handleFileChange} // https://stackoverflow.com/questions/19107685/safari-input-type-file-accept-video-ignores-mp4-files - accept="video/mp4,video/x-m4v,video/*" - placeholder={__('Select video file to upload')} + placeholder={__('Select file to upload')} /> )} {showFileUpload && (