You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

29 lines
859 B

import JoLPlayer from "jol-player";
import file from "../../assets/videos/sea.mp4";
const Video = ({fileIds}) => {
return (
<div style={{direction: 'ltr', textAlign: 'left', marginBottom: 10,}}>
<JoLPlayer
option={{
videoSrc: `https://dnvn.ir/api/v1/file/${fileIds}`,
width: '100%',
height: window.innerWidth > 1000 ? 450 : 250,
theme : '#4dd35b',
language : 'en',
isShowMultiple: window.innerWidth > 700,
hideMouseTime : 10000,
isShowPicture : true,
isShowScreenshot : window.innerWidth > 700,
isShowSet : window.innerWidth > 700,
isShowPauseButton : false,
quality: [{
name: "SD", url : `https://dnvn.ir/api/v1/file/${fileIds}`,
}]
}}
/>
</div>
);
};
export default Video;