Embedding player - saving and restoring lesson state
var player;
function icOnAppLoaded(){
player = icCreatePlayer('_icplayer');
// Write state to player before loading content
player.setState(state);
player.load('content/default.ic.xml');
}
// Read state from player
var state = player.getState();