# Video
Use the Video component to embed and control video playback in your UI.
Home
/
Video
import { Video } from "funuicss";
Video Component
Easily embed and control video elements using the FunUi `Video` component.
PropDescriptionValue(s)
`src`Source URL of the video to play.`string (URL)`
`controls`Show default video controls.`boolean (default: true)`
`autoPlay`Start playing automatically.`boolean`
`muted`Mute the video by default.`boolean`
`loop`Play the video in a loop.`boolean`
`poster`Image shown before the video loads.`string (image URL)`
`style`Inline CSS styles for the video element.`React.CSSProperties`
`className`Custom class names for styling.`string`
#
Basic Usage
This is a basic example of the Video component with controls.
React / Next.js
00:02
00:05
10 sec Back
10 sec Forward
Expand
Download
#
Advanced Usage
You can customize the video behavior using additional props like autoPlay, loop, muted, and poster.
React / Next.js
00:00
00:07
10 sec Back
10 sec Forward
Expand
Download