Troubleshooting
Video and audio
Errors may occur when playing back the linked media files. The preview window shows the error causes. The table below describes how to troubleshoot errors.
Error message |
Cause and fix |
Playback was interrupted |
Cause: Getting and downloading the media file has been interrupted by a Toloker. How to fix: Refresh the page. |
Can't download video/audio due to network problems |
Cause: The media file can't be downloaded because the network connection is down or unstable. How to fix: Check the network connection and refresh the page. |
The format is not supported by your device |
Cause: An attempt to decode the media file has failed. This might happen if the media file format mismatches the device codec or the file is damaged. How to fix:
|
Video/audio file download failure or non-video file hosted at the URL |
Possible causes and fixes:
|
Shortcuts
To display a shortcut in the interface, set the shortcut to the same action that is performed when the button is clicked.
Assign an action to the component if you haven't yet:
- action.set for radio buttons.
- action.toggle for checkboxes.
- action.play-pause for playback control.
- action.open-close to zoom in on images.
You can see the full list of actions in List of actions.
Keep in mind the following:
- The data types for actions must be the same. For example, in the following case the shortcut works but is not displayed: clicking on the button saves the
“true”
string to the results, and the Boolean valuetrue
is defined for the shortcut. - If multiple actions are triggered when the button is clicked (action.bulk), the sequence of these actions for the shortcut must be the same.
- If you use a conditional operator to select an action, such as helper.if, the same conditional operator (helper.if) must be called under the same rules when the shortcut key is pressed.
Escaping
How to add quotation marks and slashes in JSON
To add a quotation mark "
or a backslash \
to a string, add another backslash \
to it. Don't escape quotation marks « »
and /
.
Input data | Result |
---|---|
"\"Before you pour your heart out, make sure that the \"vessel\" doesn't leak\". \\George Bernard Shaw" |
"Before you pour your heart out, make sure that the "vessel" doesn't leak". \George Bernard Shaw |
"«Before you pour your heart out, make sure that the «vessel» doesn't leak». /George Bernard Shaw" |
«Before you pour your heart out, make sure that the «vessel» doesn't leak». /George Bernard Shaw |