Is it possible to play audio from a local ios library via html5?

匆匆过客 提交于 2019-12-13 05:09:23

问题


Say we have an iPhone that has mp3s synced to it that play normally with the built in ios music player. Can a webpage be coded in a way that if I surf to it using mobile safari, I can see my music library and play the files?
If so what APIs etc should I use?


回答1:


On iOS, this is not possible. It is possible for Chrome Applications to get access to the local media library; however, iOS (even Chrome on Android right now, actually) do not support this.




回答2:


As browser limitations and security concerns you cannot do this.




回答3:


I'm going to say no. I'm 99% certain there's no way to do that. The only files you can access are the photos, and those are one-by-one using .



来源:https://stackoverflow.com/questions/19803399/is-it-possible-to-play-audio-from-a-local-ios-library-via-html5

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!