Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8580579
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T20:51:40+00:00 2026-06-11T20:51:40+00:00

hi guys am new to java script.. I am trying to stream a sound

  • 0

hi guys am new to java script..

I am trying to stream a sound track in soundcloud using their java script SDK but my code is not working please let me know how to make this work. Below is my code

        <!DOCTYPE html>
  <html><head>
  <script src=”http://connect.soundcloud.com/sdk.js”></script>

  <script src=”http://code.jquery.com/jquery-1.7.1.min.js”></script>

  <script>

  SC.initialize({

  client_id: “15c5a12b5d640af73b16bd240753ffbb?,

  redirect_uri: “http://connect.soundcloud.com/examples/callback.html”

  });
  $("#stream").live("click", function(){
      SC.stream("http://api.soundcloud.com/tracks/293", {autoPlay: true});
    });
  </script>
  </head>
  <body>
  <input type="button" href="#" id="stream" class="big button" value="Stream It Again, Sam" />
  </body>
  </html>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T20:51:41+00:00Added an answer on June 11, 2026 at 8:51 pm

    A couple of things I can spot, that may just be a result of copy & pasting your code, but good to check anyways:

    1. You’ve got a combination of smart quotes (i.e. ”) and dumb quotes (i.e. ") in your code. Change all of the smart quotes to dumb quotes.
    2. Your client_id has a ? appended to it. Replace the ? with a ".

    Make those changes, reload and you should be off to the races.

    Btw, for your example here you can also omit the redirect_url. Having it there won’t do any harm though:

    SC.initialize({
      client_id: "15c5a12b5d640af73b16bd240753ffbb"
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi Guys new to this site but a big fan. Right the problem. It's
Guys i am very new to jQuery. I have started using the auto complete
Hello, guys! I'm familiar with JavaScript and PHP, but new to C. I am
I'm new to jQuery, I was hoping you guys could help me. I'm trying
Ok guys. What I'm trying to do: I've got some backend code written in
I'm trying to make a countdown timer using JS, obviously. I think my code
I am trying to upload an image to server using using XMLHttpRequest but fails.
Hi guys I am rather new at AJAX programming but I have managed to
im kinda new to javascript i mean i know the syntax but not so
Hey guys plz help I am trying to convert this html to jade using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.