Player compilation error fixed

removed debug statements in player component
This commit is contained in:
Isaac Grynsztein
2020-02-17 17:42:50 -05:00
parent 1e4995c5ce
commit 8e3d6a0af6
2 changed files with 2 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
<div *ngIf="playlist.length > 0; else loading">
<div *ngIf="playlist.length > 0">
<div [ngClass]="(type === 'audio') ? null : 'container-video'" class="container">
<div class="row">
<div [ngClass]="(type === 'audio') ? 'my-2 px-1' : null" class="col px-1">

View File

@@ -66,7 +66,6 @@ export class PlayerComponent implements OnInit {
src: fullLocation,
type: fileType
}
console.log(mediaObject);
this.playlist.push(mediaObject);
}
this.currentItem = this.playlist[this.currentIndex];
@@ -103,7 +102,7 @@ export class PlayerComponent implements OnInit {
}
onClickPlaylistItem(item: IMedia, index: number) {
console.log('new current item is ' + item.title + ' at index ' + index);
// console.log('new current item is ' + item.title + ' at index ' + index);
this.currentIndex = index;
this.currentItem = item;
}