Video player backlight changing according to video content
npm install react-ambient-player

Video player backlight changing according to video content
```
npm install react-ambient-player
`jsx
import React from "react";
import AmbientPlayer from "react-ambient-player";
const App = () => {
return (
width: 640,
height: 360,
}}
sources={[
{
src: "https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.webm",
type: "video/webm",
},
{
src: "https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4",
type: "video/mp4",
},
]}
/>
);
};
export default App;
`
| Name | Type | Default | Description |
| ---------- | --------------------------------------- | ----------- | ------------------------------------------------- |
| sources | Array<{ src: string; type: string; }> | undefined | Array of sources to be used by the video element. |number
| interval | | 5000 | Frame extraction interval in milliseconds. |VideoHTMLAttributes
| videoProps | | undefined` | Props to be passed to the video element. |
MIT
Yiğithan |