Change video source

test
dan 2020-03-22 12:41:26 -06:00
parent 4221f3f7db
commit c8ff77211d
1 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ export class LiveStreamComponent implements OnInit {
public sermonVideo: string = 'https://ofbbutte.com/static/media/video/sermon.mp4'; public sermonVideo: string = 'https://ofbbutte.com/static/media/video/sermon.mp4';
public pleaseWait: string = 'https://ofbbutte.com/static/media/video/PleaseWait.jpg'; public pleaseWait: string = 'https://ofbbutte.com/static/media/video/PleaseWait.jpg';
public clickToPlay: string = 'https://ofbbutte.com/static/media/video/ClickToPlay.jpg'; public clickToPlay: string = 'https://ofbbutte.com/static/media/video/ClickToPlay.jpg';
public message: string = "Please Wait"; public message: string = "Please Wait...";
public isReady: boolean = false; public isReady: boolean = false;
@ -35,7 +35,7 @@ export class LiveStreamComponent implements OnInit {
if (this.isReady === true) { if (this.isReady === true) {
this.showVideo = true; this.showVideo = true;
this.videoSrc = ''; this.videoSrc = '';
this.videoSrc = this.videoSrc; this.videoSrc = this.sermonVideo;
clearInterval(this.interval); clearInterval(this.interval);
} }
}); });