Can anyone create a u-stream flash player like this one
http://fullsports2009.ucoz.com/sjplayer2.swf
I ran it through a .swf decoder and it only allows a certain domain to use it
http://fullsports2009.ucoz.com/sjplayer2.swf
I ran it through a .swf decoder and it only allows a certain domain to use it
Code:
function frame1()
{
Security.allowDomain("*");
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
viewerLoader = new Loader();
viewerLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onRslLoad);
addChild(viewerLoader);
applicationDomain = ApplicationDomain.currentDomain;
loaderContext = new LoaderContext();
request = new URLRequest("http://www.ustream.tv/flash/viewer.rsl.swf");
curUrl = String(ExternalInterface.call(" function(){ return document.location.host.toString();}"));
if (curUrl == "soccerjumbo-hd.blogspot.com" || curUrl == "www.fpleaguehd.com")
{
loaderContext.applicationDomain = applicationDomain;
viewerLoader.load(request, loaderContext);