Skip to content

[fix] Demo - 修复具有file schema的Uri播放失败的问题#4752

Open
zhouxianyu wants to merge 1 commit intobilibili:masterfrom
zhouxianyu:master
Open

[fix] Demo - 修复具有file schema的Uri播放失败的问题#4752
zhouxianyu wants to merge 1 commit intobilibili:masterfrom
zhouxianyu:master

Conversation

@zhouxianyu
Copy link
Copy Markdown

如果mUri是个具有File Schema的Uri,例如从Uri.fromFile()得到
那么mUri.toString = "file:///storage/xxxx/xxx.mp4"
但new File()的入参并不能识别带有schema的url,导致文件不存在而播放失败

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant