playback.paused - Events - Items API

Items API Events

playback:paused

Fires when the media playback has been paused.

You would want to be notified about this event firing, because you may want to show an overlay to emphasize the paused status, for example.

Important Available for Audio or Video Feature types only.

Examples

itemsApp.feature('[my_response_id]').on('playback:paused', function () {
    console.log('This code executes when the playback has been paused.');
});

Related articles

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.