Player compilation error fixed

removed debug statements in player component
pull/11/head
Isaac Grynsztein 6 years ago
parent 1e4995c5ce
commit 8e3d6a0af6

@ -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">

@ -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;
}

Loading…
Cancel
Save