[英]How can I stream music from SoundCloud in a node-webkit app using JavaScript?
I am trying to use the hosted SoundCloud JS SDK in a node-webkit desktop app. 我正在尝试在节点Webkit桌面应用程序中使用托管的SoundCloud JS SDK。
It seems like a lot of links in the API use //... instead of http://... and node-webkit gets confused because of this. 似乎API中的许多链接使用// ...而不是http:// ...,因此node-webkit感到困惑。 It tries to find the resource at file://... I want to be able to stream music into a custom player using the SDK's streaming features.
它尝试在file://上找到资源。...我希望能够使用SDK的流功能将音乐流传输到自定义播放器中。
How can I do one of these: 我该怎么做其中之一:
Should I just download and edit the SDK and include it in the app? 我应该下载并编辑SDK并将其包含在应用程序中吗?
I would really love to use the SDK because it makes my life simpler. 我真的很想使用SDK,因为它可以简化我的生活。
Hmm, yeah I guess this was never thought of at the time. 嗯,是的,我想当时还没有想到这一点。 Personally, I'd go with 'forking' and specifying the urls (I'd also choose 'https').
就个人而言,我将使用“ forking”并指定网址(我也选择“ https”)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.