Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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

wants to merge 1 commit into from

Conversation

zhouxianyu
Copy link

如果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.

None yet

1 participant