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.