Video recorder video

Video recorder (video)

The video recorder Question is referenced by its Question type in the code, which is video. This Question allows students to record a video response.
Note: this Question type is not enabled by default - you will need to contact Learnosity Support to enable this.


  • is_math boolean

    Set to true to have LaTeX or MathML contents to be rendered with mathjax.

    Default: false

  • metadata object

    Object containing additional information about the question.

  • metadata.distractor_rationale string

    Used to display individual response feedback/rationale to the student.

  • metadata.rubric_reference string

    A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity

  • metadata.sample_answer string

    A sample answer to be displayed on the Learnosity Reports API. HTML is supported.

  • metadata.acknowledgements string

    References for any text passages, documents, images etc. used in the question.

  • stimulus string

    The question stimulus. This can include text, tables, images, resources and LaTeX entered via the Math Editor.

  • stimulus_review string

    HTML/Text content displayed only in review state rendered above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state.

  • instructor_stimulus string

    HTML/Text content displayed when showInstructorStimulus is set to true on the activity. Supports embedded Feature <span> tags.

  • type string

    Type of question being asked, e.g. 'association'

    Default: "video"

  • ui_style object

    Object used to control different aspects of the UI

  • ui_style.fontsize string

    Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'.

    Default: "normal"

  • validation object

    In this section, configure the correct answer(s) for the question.

  • validation.max_score number

    The highest score a marker can award to this question response.

  • validation.min_score_if_attempted number

    Positive value indicating the minimum score if a student attempted the question.

    Default: 0

  • validation.unscored boolean

    When enabled, this option will remove all scoring from the question. This is useful for creating practice questions.

    Default: false

  • max_length number

    The length of video, in seconds, allowed to be recorded by the student. Maximum value and default value is 600 (10 minutes)

    Default: "600"

  • overwrite_warning boolean

    Set to false to suppress the overwrite warning when user attempts to re-record.

    Default: true

Response format

The data returned in the response format for this Question is references to the video file that the student recorded as a response to a Question.

Response format examples

    "value": {
        "name": "0034_testing_user_46__4cbd3128-e3ab-412a-ab8f-aaf2ef96ed0d_1.mp4",
        "originalName": "0034_testing_user_46__4cbd3128-e3ab-412a-ab8f-aaf2ef96ed0d_1.webm",
        "extension": "mp4",
        "size": 254049,
        "assetPath": "userupload/0034/questionresponse/2019/265/0034_testing_user_0034_testing_user_46__4cbd3128-e3ab-412a-ab8f-aaf2ef96ed0d/2e1cbd29-b9c3-4c66-aa4b-271508f9c872.webm",
        "assetProcessedPath": "userupload/0034/questionresponse/2019/265/0034_testing_user_0034_testing_user_46__4cbd3128-e3ab-412a-ab8f-aaf2ef96ed0d/2e1cbd29-b9c3-4c66-aa4b-271508f9c872.mp4",
        "duration": 3,
        "srcType": "video/webm"
    "type": "video",
    "created": "2019-09-24T01:46:22.409Z",
    "apiVersion": "v2.173.0",
    "revision": 1

Response attributes

  • value object

    The references to the video file that the student recorded as a response to a Question. This includes the filename, file extension or type, file size, paths to the original and compressed files, and duration of the video (in seconds).

  • type string

    Informs the scoring engine about what kind of data to expect in the values entered by the student. For this Question type, you must always supply a string for this attribute with the value "video".

  • created string

    The time and date stamp of the video file's creation.

  • apiVersion string

    The version of the Questions API that returned this response.

  • revision numeric

    Keeps track of the number of Question attempt submissions, i.e. how many times the student answered the Question and submitted it.

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.