Hmmm... > Blocked loading mixed active content " http://code.jquery.com/jquery-latest.js" > Blocked loading mixed active content " http://connect.soundcloud.com/sdk.js" You're trying to mix HTTPS and HTTP... I also see that your API key is there in clear. I hope no one can do any bad stuff in your name. Oh, and it looks like every action is sent to google for statistics ?
> I also see that your API key is there in clear. I hope no one can do any bad stuff in your name. To OP: The way to fix this is to have the JS make a request to your own server, have your own server make the request to Soundcloud and proxy it back to you. That way you don't have to put your key in the JS, you can keep it on your server.
Show HN: SoundCloud Instant
21–30 of 34 posts
Re: Show HN: SoundCloud Instant
#22i love it but it would be cooler with a full screen UI, there was a soundcloud api hack that would play people's loved/favorited tracks that kind of did that..
It's on the "audio" branch of my code.
Re: Show HN: SoundCloud Instant
#23https://news.ycombinator.com/item?id=3363451
I will sell you soundcloudinstant.com for 1 million dollhairs. But really, yours is much better :)
Re: Show HN: SoundCloud Instant
#24Small bug: it reloads the track when I press the volume up / down keys on my keyboard. Using a samsung 7-series notebook.
FWIW, I just added keyboard shortcuts for volume control though: `shift up/down - volume`
Re: Show HN: SoundCloud Instant
#25Very nice! I had some deja vu when I read the title. I posted an HN thread with the same exact title over two years ago! https://news.ycombinator.com/item?id=3363451 I will sell you soundcloudinstant.com for 1 million dollhairs. But really, yours is much better :)
Re: Show HN: SoundCloud Instant
#26Nice work. I'm personally not a huge fan of autoplay, since there's a ton of stuff on SC and the search results aren't always accurate enough. Volume control would also be ace. Not sure how easy that would be to implement - now that I think about it, I've never seen it on any of their widgets.
shift up/down - volumeRe: Show HN: SoundCloud Instant
#27This reminds me of Feross Aboukhadijeh his Youtube instant. ( http://www.quora.com/What-were-the-main-reasons-why-Feross-A... ) Does the API has rate limit? Are you sending a new query every 200ms? https://github.com/karan/scInstant/blob/gh-pages/app.js#L98
Re: Show HN: SoundCloud Instant
#28Re: Show HN: SoundCloud Instant
#29Hmmm... > Blocked loading mixed active content " http://code.jquery.com/jquery-latest.js" > Blocked loading mixed active content " http://connect.soundcloud.com/sdk.js" You're trying to mix HTTPS and HTTP... I also see that your API key is there in clear. I hope no one can do any bad stuff in your name. Oh, and it looks like every action is sent to google for statistics ?
Well the URLs are provided by SoundCloud and jQuery so there's nothing that I can do (other than hosting it myself). Yeah I just hope no one misuses it. Yes.
Drop the scheme [0], the browser will be smart enough to know whether to use http or https.
[0] https://stackoverflow.com/questions/550038/is-it-valid-to-re...
Re: Show HN: SoundCloud Instant
#30Earlier quoted context omitted.
> I also see that your API key is there in clear. I hope no one can do any bad stuff in your name. To OP: The way to fix this is to have the JS make a request to your own server, have your own server make the request to Soundcloud and proxy it back to you. That way you don't have to put your key in the JS, you can keep it on your server.
Is there any way where it does not use a server? I really do not want to use a server here.