parent
8a9fc46bbf
commit
7d72b50b1d
5 changed files with 49 additions and 4 deletions
@ -0,0 +1,27 @@ |
|||||||
|
import JoLPlayer from "jol-player"; |
||||||
|
import file from "../../assets/videos/sea.mp4"; |
||||||
|
|
||||||
|
const Video = () => { |
||||||
|
return ( |
||||||
|
<div style={{direction: 'ltr', textAlign: 'left'}}> |
||||||
|
<JoLPlayer |
||||||
|
option={{ |
||||||
|
videoSrc: `https://dnvn.ir/api/v1/file/0`, |
||||||
|
width: '100%', |
||||||
|
height: 400, |
||||||
|
theme : '#4dd35b', |
||||||
|
language : 'en', |
||||||
|
isShowMultiple: true, |
||||||
|
hideMouseTime : 10000, |
||||||
|
isShowPicture : true, |
||||||
|
isShowScreenshot : true, |
||||||
|
quality: [{ |
||||||
|
name: "SD", url : `https://dnvn.ir/api/v1/file/0`, |
||||||
|
}] |
||||||
|
}} |
||||||
|
/> |
||||||
|
</div> |
||||||
|
); |
||||||
|
}; |
||||||
|
|
||||||
|
export default Video; |
Loading…
Reference in new issue