Skip to content

Instantly share code, notes, and snippets.

@mareksotak
Created October 5, 2015 13:24
Show Gist options
  • Save mareksotak/801bd582f6c11fe007c0 to your computer and use it in GitHub Desktop.
Save mareksotak/801bd582f6c11fe007c0 to your computer and use it in GitHub Desktop.
inline_manual_player.setCallbacks({
onStepShow: function (player, topic_id, step_id) {
console.log(player.topics[topic_id].steps.length);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment