Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Soundcloud API works on Firefox but not on Safari or Chrome

http://jsfiddle.net/gwz3rchj/76/

I am using this piece of code. No errors in the console. It's not loading the sound at all.

$(document).ready(function() {  

    SC.initialize({
    client_id: "43e02302fc33adb2051f2391815f1828"

  });

 $("#stream").on("click", function(){
    SC.stream("/tracks/293", {autoPlay: true});
  });


});
like image 800
Ali Gajani Avatar asked Oct 06 '14 02:10

Ali Gajani


1 Answers

Its jsfiddle issue , I think becuase it is using IFrame

here is working sample on plunker

like image 196
Ammaroff Avatar answered Sep 21 '22 10:09

Ammaroff