Soundcloud stratus component broken. Uncaught ReferenceError: soundManager is not defined player.js:10

657 Views Asked by At
Re: nov25 Deploys/updates made from 11.18 - 11.24

Hi! My stratus component stopped working today in dev and (stable) production environments. I am seeing the following script error in chrome on OS X:

Uncaught ReferenceError: soundManager is not defined player.js:10
window.Track.Backbone.Model.extend.initialize player.js:10
Backbone.Model backbone.js:137
child backbone.js:1110
_.extend._prepareModel backbone.js:571
_.extend._add backbone.js:584
_.extend.add backbone.js:449
(anonymous function) player.js:247
(anonymous function) sdk.js:1
request.onreadystatechange sdk.js:1

Up 'til yesterday night the stratus component was working fine for a month (at least) no problems. I didn't change anything in my code.

Then this afternoon I checked and stratus is failing now.

I'm using the current style & script http://stratus.sc/stratus.css && http://stratus.sc/stratus.js

And my javascript hook from java is as follows

public String getScript() {
    return "    <script type=\"text/javascript\">\n" +
           "        $(document).ready(function(){\n" +
           "            $.stratus({\n" +
           "                links: '"+getUrl()+"'\n" +
           "            });\n" +
           "        });\n" +
           "    </script>";
}

Any idea what could be happening here? Thanks, Jon

Some random words to satiate the regex. Why should I need to add more details? It seems quite unnecessary to me. Good lord how much do I need to add to make this validation happy?

0

There are 0 best solutions below