Skip to content

lignjoslav123/react-video-player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

react-video-player

Component for video playing so user cant download your video (that easily)

just put that folder into project and import js file

import VideoPlayer from "./react-video-player/VideoPlayer";

function Index(){ 

    return (
    <VideoPlayer width="50vw" height="50vh" src="http://localhost:8080/Database/video/11" className="video-canvas"></VideoPlayer>
    
    )
    }
    
    export default Index;

width and height are size parametars (its css parametars so it can be 50px/10%/20vh/4vw) and src is source parameter

video should look something like this ...

About

react-video-player

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published