Help > Forum > Topics & Posts > Preventing audio and videos from being downloaded
Preventing audio and videos from being downloaded
You can follow the instructions below to prevent audio and video files uploaded to forum posts from being downloaded by users:
- Log in to your Website Toolbox account.
- Click the Integrate link in the main menu.
- Click the HTML link.
- Insert the following code into the Forum Head Tag HTML Code textbox:
<script> window.addEventListener("load", function(){ if(jQ('#posts-list').length || jQ('#topics').length) { jQ('audio, video').attr('controlsList','nodownload').on('contextmenu',function() { return false; }); } }); </script>
- Save the changes.
If you still need help, please contact us.