While viewing the app on a browser, the video player functions properly. However, when accessed on a phone, the following error occurs. I suspect that the issue lies in the 'file:' prefix, but I am unable to remove it using string.replace('file:',''):
The webpage at file://www.dailymotion.com/embed/video/{video_id} could not be loaded because:
net::ERR_FILE_NOT_FOUND
player.ts:
this.video_link = "//www.dailymotion.com/embed/video/"+this.video_id;
player.html:
<iframe [src]="sanitizer.bypassSecurityTrustResourceUrl(video_link)" allowfullscreen frameborder="0" width="100%" height="200px" ></iframe>