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

playback:started

Fires when the media file playback has started.

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

Important Available for Audio or Video Question types only.

Examples

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

Related articles

Was this article helpful?