The embed video
widget question allows you to easily display a video in your survey.
The only two items that are necessary to embed a video into a survey are a unique ID and a functioning link to the video location.
Details
- Only mp4 videos are supported.
- The link input must be a full (absolute) URL, including 'https', e.g.,
https://domain.com/survey/rs4/_s/Video1.mp4
. - The
embed video
widget can be used as many times as needed as long as each video has a unique ID. - The
embed video
widget automatically shows the video precisely where it's programmed in your survey. - When the
embed video
widget is used, two variables are automatically created in the reporting field tree.- ID_ERROR: If a video cannot be played due to an error, this field will display the number of times the error occurred for the respondent.
- ID_TIMES_PLAYED: This field counts and records the number of times the video was played for the respondent.
- Once a video has been embedded in a survey, a
set text
widget with thevideo popup
tag to can be used to replay later in the survey.
Tags
Tag | Description |
video link |
Required; uses a URL as the input and must end with 'mp4'. |
text |
Displays text on screen during video playback. |
text placement |
Modifies the location for the text defined. Acceptable inputs are: 'above', 'below' (default), 'left', and 'right'. |
show continue |
Specifies the delay time (in seconds) before the continue button appears on screen if the video fails to play. |
video nojs |
Used on a video pop-up to displays a custom message to the respondent if no JavaScript is found on their device. |
Additional examples
'embed video' with additional tags
In this example, the text
tag is used to show text on the screen with the video. The text placement
tag puts the text "Please click below to watch this video" above the video instead of its default location below it. Additionally, the show continue
tag will display the continue button after 10 seconds if the video has not completed.
embed video: TREEVID
video link: https://d34zhlehhiq5vp.cloudfront.net/feec596a-1eab-45b3-b63a-6c0239ff7637/mp4/test_video_Mp4_Avc_Aac_16x9_1280x720p_24Hz_8.5Mbps_qvbr.mp4
text: Please click below to watch this video.
text placement: above
show continue: 10
'video popup' tag and 'set text'
In the example below, the video is initially placed in the survey using the embed video
widget. A set text
is then used with the video popup
tag to reference it on a later page in the survey.
embed video: TREEVID
video link: https://d34zhlehhiq5vp.cloudfront.net/feec596a-1eab-45b3-b63a-6c0239ff7637/mp4/test_video_Mp4_Avc_Aac_16x9_1280x720p_24Hz_8.5Mbps_qvbr.mp4
set text: REWATCHTREEVID
text: Click here to re-watch the video.
video popup: TREEVID
new page
__REWATCHTREEVID__
Comments
0 comments
Please sign in to leave a comment.