VideoRecorderObject Class
An instance of a video recorder tied to or used by one specific page. A given experiment may use more than one video recorder depending on the number of video capture frames.
Methods
destroy
()
Uninstall the video recorder from the page
getTime
()
Date | Null
Get a timestamp based on the current recording position. Useful to ensure that tracked timing events line up with the video.
Returns:
hide
()
Hide the recorder from display. Useful if you would like to keep recording without extra UI elements to distract the user.
install
-
record
Install a recorder onto the page and optionally begin recording immediately.
Parameters:
-
record
Object
Returns:
Indicate whether widget was successfully installed and started
pause
-
skipIfMissing
Pause the recorder. If optional skipIfMissing argument is provided (and true), don't raise an error if recording isn't ready yet.
Parameters:
-
skipIfMissing
Object
record
()
Promise
Start recording a video, and allow the state of the recording to be accessed for later usage
Returns:
resume
()
Resume the recording
show
()
Boolean
Show the recorder to the user. Useful if you want to temporarily show a hidden recorder- eg to let the user fix a problem with video capture settings