Documentation
ef-recorder-settings
Set video size, frame rate, and microphone capture.
Set video size, frame rate, and microphone capture.
Attributes
1 of 1
disabled
- React prop
disabled- Type
boolean- Default
false- Description
- Disable the capture settings.
CSS Parts
CSS parts| Part | Description |
|---|
frame-rate | The frame rate list. |
microphone | The microphone checkbox. |
size | The video size list. |
CSS Custom Properties
CSS custom properties| Property | Default | Description |
|---|
--ef-recorder-accent | var(--ef-color-primary, light-dark(#245fcb, #6ea8fe)) | The focus indicator color. |
--ef-recorder-color | var(--ef-color-text, CanvasText) | The text color. |
--ef-recorder-control-background | var(--ef-color-bg-panel, Canvas) | The control background. |
--ef-recorder-control-border | var(--ef-color-text-muted, #777) | The control border color. |
--ef-recorder-font | 0.875rem/1.4 system-ui, sans-serif | The control font. |
--ef-recorder-radius | 0.375rem | The control corner radius. |
Events
Events| Event | Detail | Description |
|---|
recording-settings-change | { width: number; height: number; frameRate: number; microphone: boolean } | Fires with the current settings. |