logo SmartSurvey / Scripting Docs
Back to Docs
Question Type
9 Media Media *MEDIA *VIDEO

Displays a video stimulus to the respondent without capturing a response. The video filename is specified in double quotes after *VIDEO. The respondent must click the play button to watch the video before proceeding to the related question. Used to expose respondents to advertisement or product videos as stimuli.

Type ID 9
Directive *MEDIA *VIDEO
Category Media
Script Definition
script definition (.q)
-- Display a video stimulus before a related question.
-- *MEDIA declares this as a media question; *VIDEO specifies the video file.
*QUESTION Q2 *MEDIA *VIDEO "Ad0241.mp4"
Q2. Please click the play button to watch the ad.
Use in Expressions
expressions
-- No expressions available for *MEDIA *VIDEO questions.
-- This type is display-only and stores no response data.
*MEDIA declares the question type; *VIDEO provides the filename of the video to display. Both keywords are required together on the *QUESTION line.
Not to be confused with type 6 (Image) which uses *IMAGE *PICT for still images, or type 49 (Info/Display) which is for text-based display items.
Place the video question immediately before the question that asks about it, so the respondent watches the stimulus before answering.
The video file must be uploaded to the project media library before the script is published. The filename in *VIDEO must match exactly (case-sensitive).
Related