Items API Events
recording:stopped
Fires when the recording has stopped.
You would want to be notified about this event firing, because you may want to hide an icon to indicate that recording has stopped, for example.
Note When this event has fired, the recorded data is sent to the Learnosity servers for processing and compression. When the learner has saved their assessment and returns to the Question, they will received the processed file for playback. For further information on how the files are processed see Guidelines for Audio Recording and Using Video Recorder Questions With Learnosity.
Important Available for Audio or Video Question types only.
Examples
itemsApp.question('[my_response_id]').on('recording:stopped', function () {
console.log('This code executes when the recording has stopped.');
});
Related articles
- The
recording:paused
event, the event that occurs when an active recording is paused. - The
recording:resumed
event, the event that occurs when an active recording has resumed recording. - The
recording:started
event, the event that occurs when a recording has started.