import JoLPlayer from 'jol-player';
const Video = ({fileIds, posterId}) => {
return (
1000 ? 450 : 250,
theme : '#4dd35b',
language : 'en',
isShowMultiple: window.innerWidth > 700,
hideMouseTime : 10000,
isShowPicture : true,
isShowFullScreen : false,
isShowSet : false,
isShowScreenshot : window.innerWidth > 700,
isShowSet : false,
isShowPauseButton : false,
poster:`https://dnvn.ir/api/v1/file/${posterId}`,
quality: [{
name: "SD", url : `https://dnvn.ir/api/v1/file/${fileIds}`,
}],
isShowWebFullScreen : false,
}}
/>
);
};
export default Video;