简体   繁体   English

三星智能电视的 Soundcloud

[英]Soundcloud for Samsung Smart-TV

We use the Soundcloud API , which allows sending information only between "http" or "https" protocols.我们使用 Soundcloud API,它只允许在“http”或“https”协议之间发送信息。 The smart-TV, as far as we know, uses a kind of file system.据我们所知,智能电视使用一种文件系统。 Hence, the requests can't be sent to the Soundcloud server, and information can't be received from it, using the API.因此,无法使用 API 将请求发送到 Soundcloud 服务器,也无法从中接收信息。 Is there any way to host some kind of a private http server on the TV, and use it?有没有办法在电视上托管某种私有 http 服务器并使用它? Or is there a different Soundcloud API module we can use?或者我们可以使用不同的 Soundcloud API 模块吗? Any other ideas are welcomed... Thanks!欢迎任何其他想法......谢谢!

Smart TV is capable of usingXMLHttpRequest .智能电视能够使用XMLHttpRequest You can access Soundcloud HTTP API with it.您可以使用它访问 Soundcloud HTTP API。 However you may need to authentificate yourself somehow.但是,您可能需要以某种方式验证自己。

finally figured it out using Cross Domain Requests - $.getJSON etc.最后使用跨域请求 - $.getJSON等解决了这个问题。
All of which is supported by the SoundCloud API. SoundCloud API 支持所有这些。
Thanks anyway!不管怎么说,还是要谢谢你!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM