Embedding player - listening to status changes

    var player;
    function icOnAppLoaded(){
        player = icCreatePlayer('_icplayer');
        player.load('content/default.ic.xml');
       	player.onStatusChanged(function(type, source, value){
            console.log("type:" + type + ", source: " + source, ", value:" + value);
       	});
    }
This status can be used to gather analytics data.