update isready

test
dan 2020-03-22 17:18:31 -06:00
parent 52caeed90f
commit ba8903c3ac
1 changed files with 1 additions and 3 deletions

View File

@ -35,12 +35,10 @@ export class LiveStreamComponent implements OnInit {
var service = nonArchivedReady[0]; var service = nonArchivedReady[0];
this.message = (<any>service).message; this.message = (<any>service).message;
if (service.isReady === true) { if (service.isReady === true) {
if (this.isReady === true) { this.showVideo = true;
this.showVideo = true;
this.videoSrc = ''; this.videoSrc = '';
this.videoSrc = service.src; this.videoSrc = service.src;
clearInterval(this.interval); clearInterval(this.interval);
}
} }
} }
}); });