标签: android uri android-videoview
我正在尝试使用Uri播放来自内部存储的视频,
Uri video = Uri.parse(pth);
这是URI:
String pth = "/data/"+getPackageName()+"/files/Movies/1/2/3/2020-01-15_23-48-23.mp4";
总是得到:
Can't play this video.
更新#1
还尝试了.3gp格式,结果与Can't play this video相同
.3gp
Can't play this video