Optional
options: Partial<VideoRendererOptions>The action to perform with the video
TRUE If the playback rate is fixed to the TimeManager time scale, default FALSE
Flip the video horizontally
Flip the video vertically
Overwrite the original video height
The render layer
TRUE to play the video in loop
Define a mask color for the video
Define the opacity of the mask color between 1 and 0
X-axis and Y-axis offset
Change the opacity between 1 and 0
READONLY, TRUE if the video is playing
Video rotation (degrees or radians)
Optional
sliceCut the video based on straight coordinates starting from the top left downward
Define a color for tinting the video
The video element to render
The volume of the video (between 1 and 0)
Overwrite the original video width
The VideoRenderer component renders video content to the screen.
It supports features like video playback control, scaling, rotation, flipping, opacity, color masking and tinting.
Videos can be rendered with custom dimensions, positioned with offsets, and sliced to show specific regions.
The component provides control over looping, volume, time scaling, and can be assigned to specific render layers.
Videos can be paused, played, and stopped programmatically.
Example