AiutaVideoSurface

fun AiutaVideoSurface(video: AiutaMedia, modifier: Modifier = Modifier, autoPlay: Boolean = true, loop: Boolean = true, muted: Boolean = true, logger: AiutaLogger? = null)

Displays an AiutaMedia surface, mirroring AiutaImage.

AiutaMedia.contentScale drives how both the video and the poster are scaled.

Parameters

video

The media to be displayed

modifier

The modifier to be applied to the surface

autoPlay

Whether playback starts automatically

loop

Whether playback loops

muted

Whether audio is muted

logger

Optional logger used to report playback failures