是否可以通过html5播放本地ios库中的音频? [英] Is it possible to play audio from a local ios library via html5?

查看:216
本文介绍了是否可以通过html5播放本地ios库中的音频?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

说我们有一个同步了mp3的iPhone,可以在内置的ios音乐播放器中正常播放.可以对网页进行编码吗?如果我使用移动浏览器浏览网页,就可以看到我的音乐库并播放文件?
如果是的话,我应该使用哪些API等?

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?

推荐答案

在iOS上,这是不可能的. Chrome应用程序 可以访问本地媒体库;但是,iOS(实际上甚至是目前在Android上的Chrome)也不支持此功能.

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.

这篇关于是否可以通过html5播放本地ios库中的音频?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆