New javascript way Theme Options --> Integrations --> head

<script>
 window.onload = function() {
 videos = document.querySelectorAll('video');
 [].forEach.call(videos, function(video) {
 video.setAttribute("controlsList", "nodownload");
});
 };
</script>

Pin It on Pinterest

Share This
Divi Theme Code SnippetsEver wondered how to disable the ability to download a self-hosted video on your divi website? Updated Solution 2019