|
|
@ -11,12 +11,12 @@
|
|
|
|
<div class="row">
|
|
|
|
<div class="row">
|
|
|
|
<div [ngClass]="allowQualitySelect ? 'col-sm-9' : null" class="col-12">
|
|
|
|
<div [ngClass]="allowQualitySelect ? 'col-sm-9' : null" class="col-12">
|
|
|
|
<mat-form-field color="accent" class="example-full-width">
|
|
|
|
<mat-form-field color="accent" class="example-full-width">
|
|
|
|
<input style="padding-right: 25px;" (keyup.enter)="downloadClicked()" matInput (ngModelChange)="inputChanged($event)" [(ngModel)]="url" [placeholder]="'URL' + (youtubeSearchEnabled ? ' or search' : '')" type="url" name="url" [formControl]="urlForm" required #urlinput>
|
|
|
|
<input style="padding-right: 25px;" matInput (keyup.enter)="downloadClicked()" (ngModelChange)="inputChanged($event)" [(ngModel)]="url" [placeholder]="'URL' + (youtubeSearchEnabled ? ' or search' : '')" type="url" name="url" [formControl]="urlForm" #urlinput>
|
|
|
|
<mat-error *ngIf="urlError || urlForm.invalid">
|
|
|
|
<mat-error *ngIf="urlError || urlForm.invalid">
|
|
|
|
<ng-container i18n="Enter valid URL error">Please enter a valid URL!</ng-container>
|
|
|
|
<ng-container i18n="Enter valid URL error">Please enter a valid URL!</ng-container>
|
|
|
|
</mat-error>
|
|
|
|
</mat-error>
|
|
|
|
<button class="input-clear-button" mat-icon-button (click)="clearInput()"><mat-icon>clear</mat-icon></button>
|
|
|
|
|
|
|
|
</mat-form-field>
|
|
|
|
</mat-form-field>
|
|
|
|
|
|
|
|
<button type="button" class="input-clear-button" mat-icon-button (click)="clearInput()"><mat-icon>clear</mat-icon></button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div *ngIf="allowQualitySelect" class="col-7 col-sm-3">
|
|
|
|
<div *ngIf="allowQualitySelect" class="col-7 col-sm-3">
|
|
|
|
<mat-form-field color="accent" style="display: inline-block; width: inherit; min-width: 120px;">
|
|
|
|
<mat-form-field color="accent" style="display: inline-block; width: inherit; min-width: 120px;">
|
|
|
|