Creates a presentation layout handler with configurable options.
Optional
Layout configuration options
A CustomLayoutHandler function
The presentation layout places the dominant speaker (or the local user if no dominant speaker is set) in a large main area. Other participants appear as small thumbnails in a horizontal row at the bottom of the container.
import { VideoGrid } from '@hiyve/react-ui';import { createPresentationLayout } from '@hiyve/react-ui';const presentationLayout = createPresentationLayout({ thumbnailHeight: 120 });<VideoGrid layout="presentation" customLayoutHandler={presentationLayout}/> Copy
import { VideoGrid } from '@hiyve/react-ui';import { createPresentationLayout } from '@hiyve/react-ui';const presentationLayout = createPresentationLayout({ thumbnailHeight: 120 });<VideoGrid layout="presentation" customLayoutHandler={presentationLayout}/>
Creates a presentation layout handler with configurable options.