diff options
Diffstat (limited to 'client/angular/videos')
-rw-r--r-- | client/angular/videos/components/add/videos-add.component.html | 2 | ||||
-rw-r--r-- | client/angular/videos/components/add/videos-add.component.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/client/angular/videos/components/add/videos-add.component.html b/client/angular/videos/components/add/videos-add.component.html index 4252d7abd..7336ad0c0 100644 --- a/client/angular/videos/components/add/videos-add.component.html +++ b/client/angular/videos/components/add/videos-add.component.html | |||
@@ -15,7 +15,7 @@ | |||
15 | <div class="form-group"> | 15 | <div class="form-group"> |
16 | <div class="btn btn-default btn-file"> | 16 | <div class="btn btn-default btn-file"> |
17 | <span>Select the video...</span> | 17 | <span>Select the video...</span> |
18 | <input type="file" name="input_video" id="input_video"> | 18 | <input type="file" name="videofile" id="videofile"> |
19 | </div> | 19 | </div> |
20 | 20 | ||
21 | <span *ngIf="fileToUpload">{{ fileToUpload.name }}</span> | 21 | <span *ngIf="fileToUpload">{{ fileToUpload.name }}</span> |
diff --git a/client/angular/videos/components/add/videos-add.component.ts b/client/angular/videos/components/add/videos-add.component.ts index 9926aed63..0004cfa20 100644 --- a/client/angular/videos/components/add/videos-add.component.ts +++ b/client/angular/videos/components/add/videos-add.component.ts | |||
@@ -22,7 +22,7 @@ export class VideosAddComponent implements OnInit { | |||
22 | constructor(private _router: Router, private _elementRef: ElementRef) {} | 22 | constructor(private _router: Router, private _elementRef: ElementRef) {} |
23 | 23 | ||
24 | ngOnInit() { | 24 | ngOnInit() { |
25 | jQuery(this._elementRef.nativeElement).find('#input_video').fileupload({ | 25 | jQuery(this._elementRef.nativeElement).find('#videofile').fileupload({ |
26 | url: '/api/v1/videos', | 26 | url: '/api/v1/videos', |
27 | dataType: 'json', | 27 | dataType: 'json', |
28 | singleFileUploads: true, | 28 | singleFileUploads: true, |