diff options
Diffstat (limited to 'client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts')
-rw-r--r-- | client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts b/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts index cafb030b9..ca21b61cd 100644 --- a/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts +++ b/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts | |||
@@ -44,7 +44,6 @@ export class VideoUploadComponent extends VideoSend implements OnInit, OnDestroy | |||
44 | } | 44 | } |
45 | formData: FormData | 45 | formData: FormData |
46 | 46 | ||
47 | waitTranscodingEnabled = true | ||
48 | previewfileUpload: File | 47 | previewfileUpload: File |
49 | 48 | ||
50 | error: string | 49 | error: string |
@@ -163,11 +162,6 @@ export class VideoUploadComponent extends VideoSend implements OnInit, OnDestroy | |||
163 | if (nameWithoutExtension.length < 3) name = videofile.name | 162 | if (nameWithoutExtension.length < 3) name = videofile.name |
164 | else name = nameWithoutExtension | 163 | else name = nameWithoutExtension |
165 | 164 | ||
166 | // Force user to wait transcoding for unsupported video types in web browsers | ||
167 | if (!videofile.name.endsWith('.mp4') && !videofile.name.endsWith('.webm') && !videofile.name.endsWith('.ogv')) { | ||
168 | this.waitTranscodingEnabled = false | ||
169 | } | ||
170 | |||
171 | const nsfw = this.serverConfig.instance.isNSFW | 165 | const nsfw = this.serverConfig.instance.isNSFW |
172 | const waitTranscoding = true | 166 | const waitTranscoding = true |
173 | const commentsEnabled = true | 167 | const commentsEnabled = true |