I would like to play sound with HTML5 tag.
The source code is shown below:
SC.get("/tracks/153068147", {}, function(sound, error) {
$('#player').attr('src', sound.stream_url + '?client_id=' + client_id);
});
When I set the sound to public, it works well. But when I set it as private, it does not work. What is the problem?
By the way, I also authenticated my APP with SC.connect before playing it. And the sound also loads with my SoundCloud account.
source
share