2017-12-07 15:32:06 +00:00
|
|
|
<div class="margin-content">
|
|
|
|
<div class="title-page title-page-single">
|
2018-08-02 13:34:09 +00:00
|
|
|
<ng-container *ngIf="secondStepType === 'import'" i18n>Import {{ videoName }}</ng-container>
|
|
|
|
<ng-container *ngIf="secondStepType === 'upload'" i18n>Upload {{ videoName }}</ng-container>
|
2017-12-07 15:32:06 +00:00
|
|
|
</div>
|
2017-04-21 16:26:09 +00:00
|
|
|
|
2018-08-02 13:34:09 +00:00
|
|
|
<tabset class="video-add-tabset root-tabset bootstrap" [ngClass]="{ 'hide-nav': secondStepType !== undefined }">
|
2017-04-21 16:26:09 +00:00
|
|
|
|
2018-08-06 13:12:54 +00:00
|
|
|
<tab i18n-heading heading="Upload a file">
|
2018-08-02 13:34:09 +00:00
|
|
|
<my-video-upload #videoUpload (firstStepDone)="onFirstStepDone('upload', $event)"></my-video-upload>
|
|
|
|
</tab>
|
2017-04-21 16:26:09 +00:00
|
|
|
|
2018-08-06 15:13:39 +00:00
|
|
|
<tab *ngIf="isVideoImportHttpEnabled()" i18n-heading heading="Import with URL">
|
2018-08-06 13:18:35 +00:00
|
|
|
<my-video-import-url #videoImportUrl (firstStepDone)="onFirstStepDone('import-url', $event)"></my-video-import-url>
|
2018-08-02 13:34:09 +00:00
|
|
|
</tab>
|
2018-08-06 15:13:39 +00:00
|
|
|
|
|
|
|
<tab *ngIf="isVideoImportTorrentEnabled()" i18n-heading heading="Import with torrent">
|
|
|
|
<my-video-import-torrent #videoImportTorrent (firstStepDone)="onFirstStepDone('import-torrent', $event)"></my-video-import-torrent>
|
|
|
|
</tab>
|
2018-08-02 13:34:09 +00:00
|
|
|
</tabset>
|
2017-04-21 16:26:09 +00:00
|
|
|
</div>
|