react player disable download
snippet in javascript

react player disable download

user9051

// 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 */