title: Play SoundCloud stream uri in HTML 5 mp3 player (audio.js)
body: <p>I would like to load tracks from SoundCloud and have them played in a HTML5 audio player provided by: <a href="http://kolber.github.io/audiojs/" rel="nofollow">http://kolber.github.io/audiojs/</a></p>
  
  <p>I have it working with .mp3 files, as they do in the demo. I have also successfully connected to the SoundCloud api and placed the src in the right place. However the stream uri : api.soundcloud .com/tracks/75868018/stream?client_id=ed34fc3159859e080af9eb55f8c3bb16 (it's a fake client id, I can't post link)  does not work. </p>
  
  <p>I have tried using both
  sound.stream_url &amp; sound.uri detailed here: developers.soundcloud .com (cannot post link)</p>
  
  <p>How do I play a stream link from the Soundcloud api in an mp3 player?</p>
  
  <p>Below is my code</p>
  
  <p>HTML - Stripped   </p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
  &lt;script src="//code.jquery.com/jquery-1.11.0.min.js"&gt;&lt;/script&gt; // load jquery
  &lt;script src="http://connect.soundcloud.com/sdk.js"&gt;&lt;/script&gt; // connect to soundlcoud
  &lt;script src="jb3.js" type="text/javascript"&gt;&lt;/script&gt; // run script to load track into &lt;li&gt; element in DOM
  &lt;script src="audio.min.js"&gt;&lt;/script&gt; // load audio,js script for audio player
  &lt;/head&gt;
  &lt;body&gt;
  
  
  &lt;audio &gt;&lt;/audio&gt;
  &lt;h2&gt;Playlist&lt;/h2&gt;
    &lt;ol id="userPlaylist"&gt;
      &lt;li&gt;&lt;a href="#" data-src="http://kolber.github.io/audiojs/demos/mp3/02-juicy-r.mp3"&gt;dead wrong intro&lt;/a&gt;&lt;/li&gt; //woorking track using .mp3
  
  &lt;li class="playing"&gt;
  &lt;a data-src="http://api.soundcloud.com/tracks/75868018/stream?client_id=ed34fc3159859e080af9eb55f8c3bb16" href="#"&gt;sc SONG&lt;/a&gt;
  &lt;/li&gt;
  //STREAM THAT IS NOT WORKING
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>MY JAVASCRIPT - jb3.js</p>
  
  <pre><code>function addSc() {
  
  SC.get("/tracks/75868018", {}, function(sound){
  alert("Sound URI: "+sound.uri);
   $("ol#userPlaylist").append('&lt;li&gt; &lt;a href="#" data-src="'+sound.stream_url+'.json/stream?client_id=ed34fc3159859e080af9eb8558c3bb16"&gt;sc     SONG&lt;/li&gt;');
  });
  }
  
  window.onload = function() {
  SC.initialize({
  client_id: 'ed34fc3159859e080af9eb55f8c3bb16'
  });
  
  addSc();
  };
  </code></pre>