Closed PGMacDesign closed 5 years ago
Check the sample please. It uses a Uri as you should.
To anyone who comes across this in the future, the problem was that the input needs the absolute path. The solution was to use the
Uri.fromFile(file);
method instead of the
Uri.parse(path);
method. The Uri for each of them looks like this:
(From File) --
file:///storage/emulated/0/Android/data/my.app/files/Movies/2019-04-25-09%3A10%3A28.mp4
(From Path) --
/storage/emulated/0/Android/data/my.app/files/Movies/2019-04-25-09:10:28.mp4
Oh I think I had this issue in the past too.
When I set the video Uri to match the one I just took via the path:
I see this error: