Camera
Pre-Requisites
FTP and the Askia File Uploader Service (https://support.askia.com/hc/en-us/articles/115005938229-File-Uploader-ADC-Service) need to be installed on your server before you can use this ADC. Please check with your systems administrator.
This ADC uses the WebRTC API which isn't supported on all browsers/devices. For more info see: https://caniuse.com/#search=webrtc.
- To download the QEX file, click here.
- Version of the ADC: 1.0.3.
This ADC allows you to upload images or video in a Survey using the File Uploader Service. The file formats allowed can be controlled via the config file in the File Uploader Service. See: SupportedFileTypes in Credentials - https://support.askia.com/hc/en-us/articles/115005938229-File-Uploader-ADC-Service.
PROPERTY | DESCRIPTION | OPTIONS/ POSSIBLE VALUES |
Askia Upload Service | ||
---|---|---|
URL | URL of the upload service to be used. | URL - http(s)://[SERVERNAME]/FileUploader/FileSwitcherService.svc |
API Key | API Key from the Credential you will be using to upload the files | string |
Secret Key | Secret Key that matches your API Key in your chosen Credential | string |
Upload Button Text | Text you would like to use for the Upload button | string - Default: "Upload" |
Project Name | Name of your Survey - this will be used in the naming of the files that are uploaded to your server. | string |
Maximum file size (KB) | Maximum file size that you'd like to allow upload of in KB | number |
Type of capture | Type of capture to narrow down the type of file that can be uploaded - separate to the SupportedFileTypes property in the config file. | image/video |
Allow save file | Allow respondent to save the file that they are about to upload | yes/no |
Disable upload button | Option to disable to Upload button once a file is uploaded | yes/no |
Allow upload on file change | Option to allow respondent to re-upload a different file | yes/no |
Save button text | Text for the "Save" button | string |
Next after upload | Hide Next button until upload has been done | yes/no |
Auto submit after upload | Auto submit once the upload has finished | yes/no |
Error Messages | ||
File Size Exceed Error | Error message to show when file size exceeded | string |
Invalid API or Secret key Error | Error message to show when an invalid API Key or Secret Key is used | string |
Error occurred at file upload | Error to show when file fails to upload | string |
Please select a file | Error when no file selected | string |
Error while generating token | Error when renaming file at FTP stage | string |
Stop recording error | Error message to show when an error occurs during stop recording | string |
Start recording | Error message to show when an error occurs during start recording | string |
User media access | Error message to show when unable to access media devices | string |
Save error | Error message to show when unable to save file | string |
Success Message | ||
Success message color | Colour of success message | any RGB colour |
Success message on upload | Message to show when file uploaded successfully | string |
Success message on save | Message to show when file saved successfully | string |
Style | ||
Width | Width of the control | percentage |
Alignment | Alignment of the control | left/right/center |
Video | ||
Show controls | Show respondent video controls | yes/no |
Video width | Width of the video | percentage |
Autoplay | Automatically replay video once recorded | yes/no |
Loop | Loop video when replaying | yes/no |
Start button text | Text for "start recording" button | string |
Stop button text | Text for "stop recording" button | string |
Video uploader mobiles text | Text for video uploader on mobiles | string |
Facing mode | Which camera to use on mobile | Front/Back |
Image | ||
Capture button text | Text for the capture button for images | string |