What is motivation behind
destroy: function() {
window.LocomoteMap[this.tag] = {
__playerEvent: function () {},
__swfReady: function () {}
};
//...
}
And not assigning null
. Since, if I initialise player again with same id. I'll never get new player:
// Instance already initialized. Return it.
if (window.LocomoteMap[tag]) {
return window.LocomoteMap[tag];
}
{boolean} swfready
and {function} __swfReady
$ python -c 'print "<policy-file-request/>"' | nc 127.0.0.1 843
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<!-- This is a master socket policy file -->
<!-- No other socket policies on the host will be permitted -->
<site-control permitted-cross-domain-policies="master-only"/>
<!-- Instead of setting to-ports="*", administrator's can use ranges and commas -->
<!-- This will allow access to ports 123, 456, 457 and 458 -->
<allow-access-from domain="*" to-ports="*" />
</cross-domain-policy>