zero.appdocs

VideoPlayer

Presentations v1.0 zero-schema

No description provided.

Required fields

PresentationType Url

Properties

PresentationType string required
Plays recorded media or an authenticated Zero live media stream with native playback controls.
Allowed VideoPlayer
Url string required
A recorded media URL or /api/live-streams/{id} for live playback.
Width number, object optional
The width of the video player in pixels. Accepts a responsive value map ({"sm": …, "md": …, "lg": …}).
Height number, object optional
The height of the video player in pixels. Accepts a responsive value map ({"sm": …, "md": …, "lg": …}).
Loop boolean optional
A boolean value indicating whether the video should loop playback when it reaches the end. Ignored for live streams.
Default false
ProgressBar.Color string, object optional
The color of the progress bar in the video player represented with color name or hex value. Accepts a color name, the "primary" token, a #hex string, or a gradient object ({"Colors": [...], "Type": "Linear"|"Radial"|"Sweep"}).
Default "#FF0000"
ProgressBar.BufferedColor string, object optional
The color of the buffered part of the progress bar represented with color name or hex value. Accepts a color name, the "primary" token, a #hex string, or a gradient object ({"Colors": [...], "Type": "Linear"|"Radial"|"Sweep"}).
Default "#CCCCCC"
ProgressBar.BackgroundColor string, object optional
The background color of the progress bar represented with color name or hex value. Accepts a color name, the "primary" token, a #hex string, or a gradient object ({"Colors": [...], "Type": "Linear"|"Radial"|"Sweep"}).
Default "#000000"