Skip to main content

ProjectConfig

ProjectConfig allows for behavioural customization of the UX of the popup.

const ProjectConfig = {
locale: "en",
thumbnail: false,
gifThumbnail: false,
thumbnailPrivate: true,
Wisp: {
VIDEO_INGESTER_URL: "",
},
};

Properties​

locale

Recording mode that the user selects. It can return the following number values:

CodeMode
enEnglish
frFrench
esSpanish
ptPortuguese

Type: string
Defaults: en

thumbnail

Controls whether or not a JPEG thumbnail is generated from the first frame of the video after recording is finished. Thumbnail is uploaded to the same directory as the video.

Type: bool
Defaults: false

gifThumbnail

Controls whether or not a GIF thumbnail is generated from the first frame of the video after recording is finished. Thumbnail is uploaded to the same directory as the video.

Type: bool
Defaults: false

thumbnailPrivate

Controls whether or not thumbnail to be uploaded is a public or a private file.

Type: bool
Defaults: true

Wisp

Allows you to set the custom wisp url (VIDEO_INGESTER URL).

Default url set to StoryXpress Wisp Url.

Type: string