无法在Ionic 5中播放本地视频

问题描述

我正在尝试在html5视频上播放本地录制的视频 但是每次我尝试时都会得到

无法加载资源:服务器的响应状态为404(确定) 这是我给视频标签的网址 http:// localhost:8080 / storage / emulated / 0 / DCIM / Camera / VID20201024134007.mp4

here is the video data that I'm getting when saving the video.

这是代码

let testUrl = this.videoService.localFileUrl.fullPath;
testUrl = testUrl.replace('file:///','http://localhost:8080/');
console.log("filePath=======>",testUrl)
this.filePath = testUrl;

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)