Skip to main content

Decipher Support

All the topics, resources needed for Decipher.

FocusVision Knowledge Base

Customizing the Video Testimonial Element

1:  Overview

The video testimonial element uses the essay question type (<textarea>) and instead of the respondent entering open-ended text, the respondent provides question feedback via a video recording that is uploaded to the server. The video testimonial is retrievable in crosstabs.

2:  Video Testimonial Element Requirements

The video testimonial requires:

  • a survey with compat 129+
  • no rows
  • no columns
  • the attribute sst set to 0

3:  Underlying Question Architecture

This dynamic style sits on top of a <textarea> question. See below for an example of the base XML code inserted when using Builder.

<textarea label="Q1" optional="0" height="10" width="50">
 <title>
   New Video Testimonial Question
 </title>
 <comment>Record or upload an existing video.</comment>
 <noanswer label="na_Q1">NA</noanswer>
 </textarea> 

The code above produces the following result:

4:  Converting to the Video Testimonial Element

To add the video testimonial style to the essay question, simply update the <textarea> tag as shown below:

<textarea label="Q1" uses="videocapture.1">

This change produces the following result:

2015-10-20_1456.png

5:  Customization

Listed below are all of the attributes available for this element. Override them to create a custom look and feel for your video testimonial element:

Click an attribute to navigate to the details.

 


 

  • videocapture:width
    • The video width (gray box) in pixels
    • Type: int
    • Available in the Survey Editor: no
    • Example: videocapture:width="320" displays the video with a width of 320px.  This is the default.
  • videocapture:height
    • The video (gray box) height in pixels
    • Type: int
    • Available in the Survey Editor: no
    • Example: videocapture:height="240" displays the video with a height of 240 pixels.  This is the default.
  • videocapture:timelimit
    • The time limit for the recording in seconds
    • Type: enum
    • Available in the Survey Editor: yes
    • Example: videocapture:timelimit=120" the respondent can record for up to 2 minutes (maximum). This is the default.
  • videocapture:uploadsizelimit
    • Maximum size of the file for uploading in bytes
    • Type: int
    • Available in the Survey Editor: no
    • Example: videocapture:uploadsizelimit="1000000000" sets the size of the video recording to the maximum 1GB.  This is the default. 

Note: For best practices the recommendation is to maintain the 1GB size limit for this attribute.

  • videocapture:providenoanswer
    • Allow the respondent to skip the question if they are having trouble with the video recording
    • Type: bool
    • Available in the Survey Editor: yes
    • Example: videocapture:providenoanswer="1" the respondent may skip the question. This is the default.

It is highly recommended to allow respondents to skip due to the new technology used for this element and for older hardware/software compatibility.

  • videocapture:noanswertext
    • Text that displays next to the option to skip the question
    • Type: res
    • Available in the Survey Editor: yes
    • Example: videocapture:noanswertext="I'm having issues recording a video" the respondent sees this text next to the skip option.  This is the default.
  • videocapture:text_timelimit
    • Text that displays in the summary of the limits.
    • Type: res
    • Available in the Survey Editor: no
    • Example: videocapture:text_timelimit="Recording time limit" the respondent sees this text under the element before  the time limit. This is the default.
  • videocapture:text_seconds
    • Text that displays in the summary of the limits.
    • Type: res
    • Available in the Survey Editor: no
    • Example: "videocapture:text_seconds"="seconds" the respondent sees this text under the element, which indicates the unit of measurement for the time limit.  This is the default.
  • videocapture:text_maxfilesize
    • Text that displays in the summary of the limits.
    • Type: res
    • Available in the Survey Editor: no
    • Example: "videocapture:text_maxfilesize"="Max file size for upload" the respondent see this text under the element before the file size limit. This is the default.