How can I hide the url shown when inspected in ANGULAR 16 as I’m getting the data from dropbox by using raw=1 at the end and storing the link in api and fetching that.
This is for a website where my personal videos are played, so don’t want them to be accessd easily with the link
loadVideo(videoLink: string): void {
this.videoLink = videoLink;
setTimeout(() => {
this.videoPlayer.nativeElement.src = this.videoLink;
this.videoPlayer.nativeElement.load();
this.videoPlayer.nativeElement.play();
this.isLoading = false;
}, 2000);
}
ngAfterViewInit() {
this.initializeVideo();
this.ngAfterViewInit2();
if(this.ClassDetails?.VideoLink != undefined){
this.videoPlayer.nativeElement.load();
this.ClassProgress = this.ClassDetails.Progress ? this.ClassDetails.Progress : 0;
}
}
New contributor
Surya Pranav is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1