Tag: soundcloud

Soundcloud Stratus Player – 跨平台兼容性

我在下一页使用Soundcloud的stratus播放器 – http://www.naturesoundmap.com/ 到目前为止,我对它的function非常满意,但是我从用户那里得到的报告表明可能存在兼容性问题。 很难确定问题出在哪里,可能根本就不是Soundcloud播放器,但是我们从很多iOS用户那里得到了很多与Soundcloud连接的时间非常长的报告,比如几分钟。 我在Safari上testing了一个iPad mini,对我来说还行,然后在10英寸的iPad上进行testing,声音根本不起作用。 我已经在使用Chrome的Android上进行了testing,播放器已激活,暂停button表示正在播放,但没有声音。 如果我“暂停”,然后点击“播放”,我听到声音。 在Android上的其他浏览器,它似乎确定。 我没有任何关于Windows用户问题的报告。 问题 – 有没有其他人有类似的经验和/或没有人有任何想法如何解决这些问题?

将用户跟踪从声音云到应用程序

我有一个应用程序正在创build用户帐户。 该应用程序的function之一是允许用户浏览您的声音云轨道。 简单的stream程是您select一个用户configuration文件,然后select声音云选项。 然后您将被带到该用户的曲目列表,然后您可以播放。 我在使用快速入门指南中的iOS Soundcloud SDK时遇到了一些主要问题: http://developers.soundcloud.com/docs/api/ios-quickstart# SDK和它所需的组件(JSONKit,OAuth2Client等)都显得非常过时,并且在编译时出现错误。 是否有任何包装库,将允许我连接到声音云和authentication/加载用户轨道? 任何信息都会很棒,因为我完全迷失了。 谢谢

OAuth2login到SoundCloud最近返回错误域= NXOAuth2HTTPErrorDomain代码= 401“HTTP错误:401”

我正在尝试使用Objective-C SoundCloudAPI框架开发的iOS应用程序login到我的SoundCloud帐户https://github.com/sangtn/SoundCloudAPI 这工作像上次我使用它的魅力,但到今天,我收到以下错误信息: 错误域= NXOAuth2HTTPErrorDomain代码= 401“HTTP错误:401”UserInfo = {NSLocalizedDescription = HTTP错误:401} 使用相同的凭据(电子邮件和psw)授予我在Web平台和SoundCloud iOS应用程序上的访问权限。 我在SoundCloud平台上找不到任何最近的变化,他们的状态页面也没有显示任何故障,所以我问是否有人遇到这个问题,如果有人find了这个问题的原因?! 谢谢!

在SoundCloud iOS应用程序中打开跟踪的URL

我想在SoundCloud iOS应用程序中打开一个SoundCloud轨道。 我的印象是,使用正确的URLscheme是soundcloud:track:[track_id] 。 这将打开SoundCloud应用程序,但不会select正确的曲目。 任何人都可以阐明如何正确地获得这个function

redirectURI与iOS soundcloud不匹配

我正在开发一个使用soundcloud API的iOS应用程序。 我遵循这个教程: https : //github.com/soundcloud/CocoaSoundCloudAPI 一切都很好,直到login步骤..我尝试上传歌曲(只是为了尝试不同的东西),但我有相同的结果…没有字段login。 有时soundcloudpopup消失1秒后,其他时间,没有附加,UI停留在这种状态(微调活动)。 在控制台中,我有这个错误消息: 哎呀,出了问题:redirectURI不匹配 在soundcloud网站上,我放了一个这样的URI myApp:// oauth2,并且我在initialize方法中写了同样的URI。 我不知道它的工作原理,因为当我刷新编辑页面时,redirectURI字段为空… 任何想法 ? 我试图用这个代码login到soundcloud: [SCSoundCloud requestAccessWithPreparedAuthorizationURLHandler:^(NSURL *preparedURL){ SCLoginViewController *loginViewController; loginViewController = [SCLoginViewController loginViewControllerWithPreparedURL:preparedURL completionHandler:^(NSError *error){ if (SC_CANCELED(error)) { NSLog(@"Canceled!"); } else if (error) { NSLog(@"Ooops, something went wrong: %@", [error localizedDescription]); } else { NSLog(@"Done!"); } }]; [self presentModalViewController:loginViewController animated:YES]; }]; 谢谢 […]

处理SFSafariViewController中的popup窗口/选项卡

我在我的应用程序中实现了一个SoundCloudloginstream程。 该应用程序打开https://soundcloud.com/connect与SFSafariViewController与redirect_uri使用我的应用程序的自定义URLscheme来接收响应。 它可以直接使用SoundCloudlogin,但在尝试使用“使用Googlelogin”button时失败。 在Safari中,该button通过Googlelogin页面打开一个新选项卡(在桌面上popup),然后通过postMessage传回到SoundCloud选项卡。 如果您使用iOS Safari应用程序,则此loginstream程正常工作,但在SFSafariViewController失败(单击该button可转至带有Googleurl的白页: https://accounts.google.com/o/oauth2/auth?… )。 现在我的解决方法是build议使用Google的用户点击SFSafariViewController上的Safari图标来完成Safari应用程序中的loginstream程,但是我想知道是否有办法在不离开我的应用程序的情况下处理这个问题。

Soundcloud iOS API – 从链接播放声音

我想在我的应用程序中使用Soundcloud API播放公共声音。 在networkingsearch后,我find了一个办法,但是我不能让我的代码工作。 以下是我尝试播放声音的代码: NSString *publicTrackUrlString = @"https://soundcloud.com/miroslav-osipovic/the-cat-empire-the-lost-song"; NSString *urlString = [NSString stringWithFormat:@"%@?client_id=64a52bb31abd2ec73f8adda86358cfbf", publicTrackUrlString]; [SCRequest performMethod:SCRequestMethodGET onResource:[NSURL URLWithString:urlString] usingParameters:nil withAccount:nil sendingProgressHandler:nil responseHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSError *playerError; player = [[AVAudioPlayer alloc] initWithData:data error:&playerError]; [player prepareToPlay]; [player play]; }];

在iOS应用程序中播放SoundCloud文件

提供的快速入门指南可以在IOS应用程序中播放SoundCloud轨道。 提供播放stream的代码在这里: SCAccount *account = [SCSoundCloud account]; [SCRequest performMethod:SCRequestMethodGET onResource:[NSURL URLWithString:audioFile] usingParameters:nil withAccount:account sendingProgressHandler:nil responseHandler:^(NSURLResponse *response, NSData *data, NSError *error) { NSError *playerError; audioPlayer = [[AVAudioPlayer alloc] initWithData:data error:&playerError]; audioPlayer.numberOfLoops = 0; [audioPlayer prepareToPlay]; [audioPlayer play]; }]; 问题:是否有一种方法可以在不loginSoundCloud帐户的情况下播放SoundCloud文件? 我们希望所有的用户都考虑使用SoundCloud,但是如果新用户以前可以听很多音轨的话,这对用户来说是有用的。

SoundCloud Widget外部控制iOS问题

我发现了一个使用外部控件的iOS5上的HTML5小部件的错误,我已经testing了iPhone和iPad。 小部件里面的控件工作正常。 然而,在我的客户端网站http://www.bushytunes.net和小工具api游乐场http://w.soundcloud.com/player/api_playground.html外部控制运行错误。 这里是从小工具操场打印的控制台: SC.Widget.Events.PLAY {"loadedProgress":null,"currentPosition":0,"relativePosition":0} SC.Widget.Events.PAUSE {"loadedProgress":null,"currentPosition":0,"relativePosition":0} SC.Widget.Events.PLAY {"loadedProgress":null,"currentPosition":0,"relativePosition":0} SC.Widget.Events.PLAY {"loadedProgress":null,"currentPosition":0,"relativePosition":0} SC.Widget.Events.PLAY {"loadedProgress":null,"currentPosition":0,"relativePosition":0} SC.Widget.Events.READY {} Loading… 谢谢,詹姆斯