Migrated depreciated imports
This commit is contained in:
1 parent
47428ee891
commit
381b76de9c
26 files changed
+2132
-1621
No files matched your search
@@ -7,15 +7,17 @@
|
||||
<i class="{{ isPlaying() ? 'fa-solid fa-pause' : 'fa-solid fa-play'}}"></i>
|
||||
</button>
|
||||
<button (click)="nextVideo()" [disabled]="!isPlayerReady"><i class="fa-solid fa-forward"></i></button>
|
||||
<div class="volume-control" *ngIf="isPlayerReady()">
|
||||
<input
|
||||
id="volume"
|
||||
type="range"
|
||||
min="0"
|
||||
max="100"
|
||||
[value]="volume()"
|
||||
(input)="onVolumeChange($event)"
|
||||
/>
|
||||
@if (isPlayerReady()) {
|
||||
<div class="volume-control">
|
||||
<input
|
||||
id="volume"
|
||||
type="range"
|
||||
min="0"
|
||||
max="100"
|
||||
[value]="volume()"
|
||||
(input)="onVolumeChange($event)"
|
||||
/>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,5 +1,5 @@
|
||||
import {Component, AfterViewInit, signal} from '@angular/core';
|
||||
import {NgIf} from '@angular/common';
|
||||
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
@@ -10,9 +10,7 @@ declare global {
|
||||
|
||||
@Component({
|
||||
selector: 'app-audio-player',
|
||||
imports: [
|
||||
NgIf
|
||||
],
|
||||
imports: [],
|
||||
templateUrl: './audio-player.component.html',
|
||||
styleUrl: './audio-player.component.css'
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user