playback.stopped - Events - Questions API

Questions API Events


Fires when the media file playback has been stopped.

You would want to be notified about this event firing, because you may want to fade in the media player controls, for example.

Important Available for Audio or Video Question types only.


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

Related articles

Was this article helpful?

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