NIPO ODIN Version 5.17
*PLAY
Purpose
Plays multimedia files.
Syntax
*PLAY [n1] [n2] <filename>
Description
Plays multimedia files, such as sound fragments or movies. During playback the interview does not stop; playback occurs simultaneously. Playback stops when an answer is given. This command is also allowed under condition. To hear sound fragments, a sound card is obviously required.
Arguments
n1 A number referring to a picture in the picture library. When defined, a video clip is positioned on the same position as the picture in the library.
n2 A number indicating the size of the video clip. The clip will appear n2 times the original size of the video clip. If n1 is defined, n2 is mandatory.
filename The name of the multimedia file. Absolute or relative paths may be used. This is especially important for NIPO CAWI and NIPO CAPI interviews, where multimedia files are located in the survey's TemplateRelatedFiles directory, or for NIPO CAPI interviews where the files are simply too large to be transferred online and played directly from media such as a CD.
Remarks
All multimedia files recognized by the multimedia interface of the Microsoft Windows operating system can be played.
Example 1
*PLAY "letitbe.wav" *QUESTION 1 *CODES 102
Do you recognize this sound?
1: yes 2: no
Example 2
This plays the related video file for the NIPO CAPI Client, assuming the survey is called Demo :
*PLAY "TemplateRelatedFiles\Demo\Video.avi" *QUESTION 1 *CODES 102
Do you recognize this video fragment?
1: yes 2: no
|