Set the Recorder media options within Comments: (audio, screen, video, all, or none).
Default: "audio"
To set the Recorder media options, pass in a comma separated string of the features you want to enable.
To enable only the screen option:
<VeltCommentsrecordings="screen"/>
To enable the video and screen options:
<VeltCommentsrecordings="video,screen"/>
To enable all options:
<VeltCommentsrecordings="all"/>
To disable all options:
<VeltCommentsrecordings="none"/>
API Methods:
const commentElement = client.getCommentElement();commentElement.setAllowedRecordings("video");// set video mode onlycommentElement.setAllowedRecordings("audio,screen");// set audio and screen mode onlycommentElement.setAllowedRecordings("all");// set all modescommentElement.setAllowedRecordings("none");// disable all modes
Whether Recording summaries in Comments are enabled.
Default: true
<VeltCommentsrecordingSummary={false}/>
API Methods:
const commentElement = client.getCommentElement();// to show recording summarycommentElement.enableRecordingSummary();// to hide recording summarycommentElement.disableRecordingSummary();
You can set custom reactions by passing a map that contains information about the reactions you want to add.
The map keys should be the reaction ID, and the map value should contain an object with either an url, svg, or emoji field to represent the reaction icon you want to use.
const customReactions ={"URL_EMOJI_ID":{"url":"EMOJI_URL"},"SVG_EMOJI_ID":{"svg":"EMOJI_SVG"},"TEXT_EMOJI_ID":{"emoji":"🤣"// emoji as a text}};<VeltCommentscustomReactions={customReactions}/>
API Methods:
const commentElement = client.getCommentElement();const customReactions ={"URL_EMOJI_ID":{"url":"EMOJI_URL"},"SVG_EMOJI_ID":{"svg":"EMOJI_SVG"},"TEXT_EMOJI_ID":{"emoji":"🤣"// emoji as a text}}commentElement.setCustomReactions(customReactions);
Controls whether to enable AI transcription for recordings.
Default: enabled
Using Props:
<VeltCommentsrecordingTranscription={false}/>
Using API Methods:
// Using comment elementconst commentElement = client.getCommentElement();commentElement.enableRecordingTranscription();commentElement.disableRecordingTranscription();// Or using recorder element const recorderElement = client.getRecorderElement();recorderElement.enableRecordingTranscription();recorderElement.disableRecordingTranscription();