Android Video View-无法播放此视频-内部存储

时间:2020-01-16 15:16:09

标签: 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相同

0 个答案:

没有答案