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.
Public Method Questions API

video

Type: object

Important Video Player type only.

Examples

var videoFeature = myLearnosityApp.feature('60001');

videoFeature.video.play();
videoFeature.video.pause();
videoFeature.video.resume();
videoFeature.video.seek(50);
videoFeature.video.stop();

Properties

  • pause function

    Pause playback.

  • play function

    Play the asset.

  • resume function

    Resume paused playback.

  • seek function

    Go to a specific point in the asset. Takes the position in percentage of the video duration (e.g: 80).

  • stop function

    Stop playing the asset.

Was this article helpful?