The new PCIbex Farm is here! Be sure to check out all of its new features and changes.

Link Search Menu Expand Document

mediarecorder.play

description

Starts playing the last recording (if any).

syntax

getMediaRecorder(ELEMENT_NAME).play()

example(s)


@InitiateRecorder("https://myserver/upload.php");
@
@newTrial(
@    newMediaRecorder("recorder")
@        .record()
@    ,
@    newTimer("recording", 2000)
@        .start()
@        .wait()
@    ,
@    getMediaRecorder("recorder")
@        .stop()
@        .print()
@        .disable()
$        .play()
@        .wait("playback")
@);
  • Will record for 2s and then play back the recording.