How to disable Download and PictureInPicture html video

To disable picture-in-picture for the video tag, write the property in the tag disablePictureInPicture. To disable download button write the property controlsList="nodownload"

  • disablePictureInPicture - Disable Picture in Picture button
  • controlsList="nodownload" - Disable download button
  • playsinline - Disable autofullscreen open on ios
<video src="" controls controlsList="nodownload" disablePictureInPicture playsinline></video>