aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/+video-edit/video-add.module.ts
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-04-03 00:22:04 +0200
committerRigel Kent <sendmemail@rigelk.eu>2020-04-03 00:22:06 +0200
commitc9ff8a08a06ef0f30ec4963aebfcc02293ca20c5 (patch)
treedc2899aff59d56b40dac81fabd90d863b1586331 /client/src/app/videos/+video-edit/video-add.module.ts
parentb515c98c6b674ee5632f3f76ad4fe00e147d995e (diff)
downloadPeerTube-c9ff8a08a06ef0f30ec4963aebfcc02293ca20c5.tar.gz
PeerTube-c9ff8a08a06ef0f30ec4963aebfcc02293ca20c5.tar.zst
PeerTube-c9ff8a08a06ef0f30ec4963aebfcc02293ca20c5.zip
Support drag and drop for video upload and torrent file import
Diffstat (limited to 'client/src/app/videos/+video-edit/video-add.module.ts')
-rw-r--r--client/src/app/videos/+video-edit/video-add.module.ts7
1 files changed, 5 insertions, 2 deletions
diff --git a/client/src/app/videos/+video-edit/video-add.module.ts b/client/src/app/videos/+video-edit/video-add.module.ts
index 911404bad..b8f5a9a47 100644
--- a/client/src/app/videos/+video-edit/video-add.module.ts
+++ b/client/src/app/videos/+video-edit/video-add.module.ts
@@ -3,6 +3,7 @@ import { SharedModule } from '../../shared'
3import { VideoEditModule } from './shared/video-edit.module' 3import { VideoEditModule } from './shared/video-edit.module'
4import { VideoAddRoutingModule } from './video-add-routing.module' 4import { VideoAddRoutingModule } from './video-add-routing.module'
5import { VideoAddComponent } from './video-add.component' 5import { VideoAddComponent } from './video-add.component'
6import { DragDropDirective } from './video-add-components/drag-drop.directive'
6import { CanDeactivateGuard } from '../../shared/guards/can-deactivate-guard.service' 7import { CanDeactivateGuard } from '../../shared/guards/can-deactivate-guard.service'
7import { VideoUploadComponent } from '@app/videos/+video-edit/video-add-components/video-upload.component' 8import { VideoUploadComponent } from '@app/videos/+video-edit/video-add-components/video-upload.component'
8import { VideoImportUrlComponent } from '@app/videos/+video-edit/video-add-components/video-import-url.component' 9import { VideoImportUrlComponent } from '@app/videos/+video-edit/video-add-components/video-import-url.component'
@@ -18,10 +19,12 @@ import { VideoImportTorrentComponent } from '@app/videos/+video-edit/video-add-c
18 VideoAddComponent, 19 VideoAddComponent,
19 VideoUploadComponent, 20 VideoUploadComponent,
20 VideoImportUrlComponent, 21 VideoImportUrlComponent,
21 VideoImportTorrentComponent 22 VideoImportTorrentComponent,
23 DragDropDirective
22 ], 24 ],
23 exports: [ 25 exports: [
24 VideoAddComponent 26 VideoAddComponent,
27 DragDropDirective
25 ], 28 ],
26 providers: [ 29 providers: [
27 CanDeactivateGuard 30 CanDeactivateGuard