苹果取消了播放shoutcast& amp;仅在网络应用中使用ios 6上的icecast? [英] Apple removed the possibility to stream shoutcast & icecast on ios 6 only in web-applications?

查看:216
本文介绍了苹果取消了播放shoutcast& amp;仅在网络应用中使用ios 6上的icecast?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚制作了webapp,可以添加我最喜欢的广播电台。

I just made webapp with the possibility to add my favorite radio stations.

我很久以前尝试但是没有用...所以我其实是我的iOS 5.1.1的iPad 1接受了所有类型的流或播放列表。

i tried long time ago but it didn't worked... so i was actually surprised that my iPad 1 with IOS 5.1.1 accepts every type of stream or playlist.

我可以播放'.pls','。m3u','。mp3'流,shoutcast直接链接ip:端口,icecast直接流ip:port / audodj ...以及更多。在< audio> 标签

i can playback '.pls','.m3u','.mp3' streams, shoutcast direct links ip:port, icecast direct streams ip:port/audodj ... and prolly more. in <audio> tag

所以我玩了2天左右,发现还有办法让现在使用shoutcast播放在某些电台上播放7.html技巧。

so i played around for 2 days and found also a way to get "Now playing" on some stations using the shoutcast "7.html" trick.

我将标识添加到我最喜欢的电台,使所有内容都处理完触摸而不是点击(慢),还找到了一种方法来消除ios上的滚动问题。

i added the logos to my favorite stations, made everything handle with touches and not "clicks" (slow), and also found a way to ovverride the scroll problem on ios.

是的,我真的很开心直到:

yeah i was really happy until:

我尝试使用带有ios 6的iphone 5和带有ios 6的ipad mini。

i tried on iphone 5 with ios 6 and ipad mini with ios 6.

'pls'& 'm3u'不再有效了。

'pls' & 'm3u' don't work anymore.

np ...我可以通过直接链接获取提取流并提供我的音频标签。

np... i can fetch the pls extract the stream and feed my audio tag with a direct link.

大多数都不起作用。但是有些工作..

most of them don't work. but some work..

确定所以我选择了有效的流并将它们再次放入网络应用程序中。

ok so i selected the streams that work and put them again in a webapp.

现在有趣的是......一切都不适用于webapps。

now the fun thing is ... everything DOES NOT WORK on webapps.

溪流仅适用于safari移动浏览器。

streams work only in safari mobile browser.

我立即使应用程序独立无效。

as soon i made the app standalone nothing works.

所以要恢复:

在使用IOS 5.1.1的webapps中

'pls','m3u',mp3 stream,icy streams& shoutcast streams 工作

'pls','m3u',mp3 streams,icy streams & shoutcast streams WORK.

在使用IOS 6 +的webapps中

没有工作

发生了什么?

推荐答案

您需要声明内容的mime类型,例如type =audio / aac...
查看更多 http://www.w3schools.com/html/html5_audio.asp

You need to declare the mime type of the content, like type="audio/aac" ... See more at http://www.w3schools.com/html/html5_audio.asp

祝你好运!

这篇关于苹果取消了播放shoutcast&amp; amp;仅在网络应用中使用ios 6上的icecast?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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