Items API Events
playback:resumed
Fires when the media file playback has been resumed.
You would want to be notified about this event firing, because you may want to remove the paused status overlay, for example.
Important Available for Audio or Video Question types only.
Examples
itemsApp.question('[my_response_id]').on('playback:resumed', function () {
console.log('This code executes when the playback has been resumed.');
});
Related articles
- The
playback:assetLoaded
event, the event that occurs when the media file has loaded and is ready to play. - The
playback:complete
event, the event that occurs when the playback has completed. - The
playback:paused
event, the event that occurs when the playback is paused. - The
playback:started
event, the event that occurs when the playback has started. - The
playback:stopped
event, the event that occurs when the playback has stopped.