begin - Events - Items API

Items API Events

begin

Fires when the Feature begins 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 started playing so that you can show the playing status in your custom control panel, for example.

Important Available for Audio or Video Feature types only.

Examples

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

Related articles

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

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