react-player with download option code example
Example: react player disable download
// credit goes to CookPete
<ReactPlayer
url={[{src: Video, type: 'video/mp4'}]} // video location
controls // gives the front end video controls
width='100%'
height='100%'
config={{ file: {
attributes: {
controlsList: 'nodownload' //<- this is the important bit
}
}}}
onEnded={()=>this.onEnded()}
/>
/* Ez game */