i have avi file in local file directory
file:///storage/emulated/0/ionic_download/2022-02-07/18/18-59-32.avi
but the problem is that I want to play video with above file path.
data[i].toURL() is above file path
- html
<video controls autoplay width="{{top_box_width}}" height="{{top_box_height}}">
<source [src]="play_path" type="video/mp4">
</video>
- .ts
let myURL = normalizeURL(data[i].toURL() ) + "#t=0.1";
console.log("222"+myURL);
let savePath = this.sanitizer.bypassSecurityTrustResourceUrl(data[i].toURL());
this.play_path = myURL
both myURL and savePath is not playing video…
how can I play video?
thank you
1 post - 1 participant