Skip to content Skip to sidebar Skip to footer

Soundcloud Stratus Player Won't Work?

Why won't my code below work and bring up the Soundcloud Stratus player? :( I don't know Javascript much obviously. They say that's all you have to do and it'll come up, but it won

Solution 1:

Add external js in the following order:

<scriptsrc="http://code.jquery.com/jquery-1.7.2.js"></script><scripttype="text/javascript"src="http://stratus.sc/stratus.js"></script>

I updated your code and it is now working:

See this fiddle

$(document).ready(function(){
$('body').stratus({
    auto_play: true,
    download: false,
    links: 'https://soundcloud.com/blazingaudio/sets/rap-instrumentals',
    random: true,
    buying: true,
    user: false,
    stats: false,
});
});

Entire code

<!DOCTYPE html><html><head><metahttp-equiv="content-type"content="text/html; charset=UTF-8"><title> - jsFiddle demo by Zword</title><scripttype='text/javascript'src='https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js'></script><scripttype="text/javascript"src="http://code.jquery.com/ui/1.8.18/jquery-ui.min.js"></script><linktype="text/css"href="/css/result-light.css"><scripttype='text/javascript'src="http://stratus.sc/stratus.js"></script><scripttype='text/javascript'>//<![CDATA[ 
$(window).load(function(){
$(document).ready(function(){
$('body').stratus({
  auto_play: true,
  download: false,
  links: 'https://soundcloud.com/blazingaudio/sets/rap-instrumentals',
  random: true,
  buying: true,
  user: false,
 stats: false,
});
});
});//]]>  </script></head><body></body></html>

Post a Comment for "Soundcloud Stratus Player Won't Work?"