我开发了windows应用程序,我想在不使用声音云API的情况下从声音云流音频(我编写了这个代码)
"webBrowser1.NavigateToString("<!doctype html>" + "<html><head><title></title></head><body>" + "<iframe height=\"1000\" src=\"https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/125791854\" width=\"1200\"></iframe>" + "</body></html>");" 和C#和在Xaml页面中使用web浏览器控件,但当我运行它时,它加载声音云端,但音频没有运行。
发布于 2014-04-18 09:20:20
试试背景音频播放器,这里是一个示例,基本上您最终要做的是
new AudioTrack(new Uri("[your soundcloud uri]", UriKind.Absolute), "[Track Name]", "[Artist]", "[Album]", null)要注意的事情:
https://stackoverflow.com/questions/23132622
复制相似问题