Answers for "hide download button in html5 video tag"

5

how to stop download option in video tag of HTML

BY LOVE
Just add controlsList="nodownload" in your video tag.
Posted by: Guest on June-25-2020
0

video no download html

video::-internal-media-controls-download-button {

display:none;

}

video::-webkit-media-controls-enclosure {

overflow:hidden;

}

video::-webkit-media-controls-panel {

width: calc(100% + 30px); /* Adjust as needed */

}

audio::-internal-media-controls-download-button {

display:none !important;

}

audio::-webkit-media-controls-enclosure {

overflow:hidden !important;

}

audio::-webkit-media-controls-panel {

width: calc(100% + 30px) !important;

}
Posted by: Guest on November-29-2020

Browse Popular Code Answers by Language