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:assetLoaded

Fires when the media file has loaded and is ready to play.

You would want to be notified about this event firing, because you may want to show a play button to the learner when the file is ready, for example.

Important Available for Audio or Video Feature types only.

Examples

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

Related articles

Was this article helpful?