的SoundCloud层云播放器 - 跨平台兼容性 [英] Soundcloud Stratus Player - Cross-platform compatibility

查看:264
本文介绍了的SoundCloud层云播放器 - 跨平台兼容性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用下面的页面上的SoundCloud的层云球员 - http://www.naturesoundmap.com/

I'm using Soundcloud's stratus player on the following page - http://www.naturesoundmap.com/

到目前为止,我很高兴与它的功能,但我已经得到了用户,表明可能存在的兼容性问题报告。

So far I'm very happy with it's functionality, but I've been getting reports from users that indicate there may be compatibility issues.

这是很难分离问题的所在准确地说,也许它不是的SoundCloud播放器可言,但我们认为它需要特别长的与连接的SoundCloud许多iOS用户接到报告 - 像分钟。我在Safari上测试iPad的迷你&安培;这是确定我,然后在10的iPad测试,声音不会玩的。

It's hard to isolate where the problem is exactly, and perhaps it's not the Soundcloud player at all, but we're getting reports from many iOS users that it takes unusually long to connect with Soundcloud - like minutes. I tested on Safari on an iPad mini & it was ok for me, then tested on a 10" iPad and the sounds wouldn't play at all.

我已经在Android使用Chrome浏览器和测试;玩家被激活&放大器;暂停按钮表明它正在播放,但没有声音。如果我'暂停',然后点击'玩',我得到的声音。 Android上的其他浏览器似乎ok了。

I've tested on an Android using Chrome & the player is activated & the pause button indicates it is playing, but no sound. If I 'pause' then hit 'play' I get sound. On other browsers on Android it seems ok.

我还没有从Windows用户问题的任何报告。

I haven't had any reports of problems from Windows users.

问题 - 有没有其他人有类似的经历和放大器; /或没有任何人有任何想法如何解决此类问题。

Question - Has anyone else has a similar experience &/or does anyone have any ideas how to resolve such issues?

推荐答案

问题是与移动台的只允许声音响应于用户输入玩策略做

The problem is to do with mobiles' policy of only allowing sound to play in response to a user input.

例如:自动播放音频在移动Safari

这是在移动浏览器的限制。

This is a limitation in mobile browsers.

声音必须响应用户交互进行播放,因此为什么它会自动不玩了,但在动人暂停接戏。

Sound must be played in response to user interaction, hence why it automatically does not play, but does upon touching pause then play.

一个解决办法是实施击球时的输入按钮加载声音的欢迎屏幕,上面的链接的顶部注释说明。

A solution would be to implement a welcome screen that loads the sound upon hitting an 'enter' button, as the top comment of the above link describes.

这篇关于的SoundCloud层云播放器 - 跨平台兼容性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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