Skip to content

Video player

Pro

A video player complete with nothing set: its own controls, keys, touch gestures, captions and states over a file or a stream, drawn in the theme over any picture. Not an M3 component (@windmorph/react-pro).

import { VideoPlayer, VideoPlayerControl, VideoPlayerControlGroup, VideoPlayerVolume, VideoPlayerNotice, MediaSlider, useVideoPlayer } from '@windmorph/react-pro';

Part of Windmorph Pro, paid components on the free core, not on sale yet. See the Pro guide for what it includes and to register interest.

Playground

0:00 / 0:18

Code

import { VideoPlayer } from '@windmorph/react-pro'; <VideoPlayer  aria-label="A tour of the components"  source="/media/tour.mp4"  poster={{ src: '/media/tour.jpg' }}/>

Examples

With nothing set

Captions, chapters, Next, Rotate, Autoplay and Theater

Speeds up to 4×, with a locked preset

The scrim look, a control of your own and the end

A stream an engine drives