beta

nimbb



Development: list of events

Here is the list of events generated by the Nimbb Player. You can intercept them in your JavaScript code.

Events are generated only if you specify your developer key as a parameter. See our tutorial for help.

Nimbb_captureChanged(idPlayer, allowed) The user has changed the Adobe Flash Player's privacy settings to allow access to camera/microphone. Parameter allowed is set to 'true' if access is allowed.
Nimbb_initCompleted(idPlayer) The player has been initialized and is ready. You can safely start calling the player's methods.
Nimbb_initStarted(idPlayer) The player is being initialized and not yet ready. You can however get a reference to the player object here.
Nimbb_modeChanged(idPlayer, mode) The mode of the player changed, which can be 'view' or 'record'.
Nimbb_playbackStarted(idPlayer) The player has started playing.
Nimbb_playbackStopped(idPlayer) The player has stopped playing.
Nimbb_recordingStarted(idPlayer) The player has started recording.
Nimbb_recordingStopped(idPlayer) The player has stopped recording.
Nimbb_stateChanged(idPlayer, state) The state of the player changed. Possible values: 'init', 'ready', 'busy', 'recording', 'playing', 'error'.
Nimbb_videoSaved(idPlayer) The video was saved.
Nimbb_volumeChanged(idPlayer, volume) The volume level of the viewer changed, values from 0 (no sound) to 100 (max).

Note the idPlayer parameter containing the name of the player that called the event. For an example of using events in your code, see our tutorial.