Answers for "how to hide download option in html 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

Code answers related to "how to hide download option in html video tag"

Browse Popular Code Answers by Language