I've read a few threads here and found that someone else was having a similar problem, with playerReady not working locally.
I can't find any reference to whether addModelListener should work locally.
I'm using
player = document.getElementById('playerID');
player.addModelListener("STATE", "stateListener");My code is fine, it runs on a webserver okay, but unfortunately that's not how I want to use the script.
Locally it just gives me the error "player.addModelListener is not a function"
Is there any workaround for this, or any alternative of adding a listener in a script run locally?
Thanks!
Due to Adobe Flash Player security restrictions, browser JavaScript sandboxing, etc., the JavaScript API isn't functional offline.