Now using the live SWF for comparison. No longer using the php proxy for loading project and asset data since the site added CORS headers.

This commit is contained in:
Shane M. Clements 2014-05-12 19:52:36 +00:00
parent 28cab5b782
commit fd8a980f42
2 changed files with 3 additions and 4 deletions

View file

@ -37,8 +37,7 @@
};
var flashPlayer = null;
//var swf_url = "http://cdn.scratch.mit.edu/scratchr2/static/Scratch.swf";
var swf_url = "http://jiggler.media.mit.edu/shanemc/scratchr2/static/Scratch.swf";
var swf_url = "http://cdn.scratch.mit.edu/scratchr2/static/Scratch.swf?brkCache="+project_id;
swfobject.embedSWF(swf_url, "flash-scratch", "482", "402", "10.2.0",
"http://cdn.scratch.mit.edu/scratchr2/static/expressInstall.swf",
flashvars, params, null, function(e) {

View file

@ -28,9 +28,9 @@ var IO = function() {
// since we won't be hampered by the same-origin policy.
this.base = 'proxy.php?resource=internalapi/';
//this.base = 'http://scratch.mit.edu/internalapi/'; // Final base
this.project_base = 'proxy.php?domain=projects.scratch.mit.edu&resource=internalapi/project/';
this.project_base = 'http://projects.scratch.mit.edu/internalapi/project/';
this.project_suffix = '/get/';
this.asset_base = 'proxy.php?domain=cdn.scratch.mit.edu&resource=internalapi/asset/';
this.asset_base = 'http://cdn.scratch.mit.edu/internalapi/asset/';
this.asset_suffix = '/get/';
this.soundbank_base = 'soundbank/';
this.spriteLayerCount = 0;