audio
Type: objectImportant Audio Player type only.
Examples
var audioFeature = myLearnosityApp.feature('60001');
audioFeature.audio.play();
audioFeature.audio.pause();
audioFeature.audio.resume();
audioFeature.audio.seek(50);
audioFeature.audio.stop();
audioFeature.audio.volume.get();
audioFeature.audio.volume.set(0.5);
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 audio duration (e.g:
80
). -
stop function
Stop playing the asset.
-
volume object