This is a lower-level API. Lower-level APIs are not recommended for most projects, and may not be available on all plans. See our page on recommended deployment patterns for more information.
Event Questions API

complete

Fires when the Feature has completed media playback.

You would want to be notified about this event firing, because you may want to know when the audio or video file has finished playing so that you can show the stopped status in your custom control panel, for example.

Important Available for Audio or Video Feature types only.

Examples

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

Related articles

  • The begin event, the event that occurs when media playback has begun.
Was this article helpful?