VideoPreview API
API reference docs for the React VideoPreview component. Learn about the props and other APIs of this exported module.
Apart from the props described bellow, the
VideoPreview
component accepts all the HTML <video/>
default props. You can check them out here.Demo
Props
Name | Type | Default | Description |
---|---|---|---|
src | string | File | The video source in string format or File object. | |
style | React.CSSProperties | The in-line style object. | |
className | string | The classname to override the css styles in .css or .sass file instead of using in-line styles. |