Stop downloads

So it has come to my attention that some browsers actually allow the download of the video files. Is this something that the browser is doing or is this a feature that is hiding someplace that i haven't found yet. I will take any suggestions on this one.


  • Note i used the following code on the watch.phtml page but is there a better way to do it? as it does break the copy and paste functionality of the sharing section

    <script type="text/javascript" src="//"></script>
    <script type="text/javascript">
    $(function() {
    $(this).bind("contextmenu", function(e) {
    <script type="text/JavaScript">
    function killCopy(e){ return false }
    function reEnable(){ return true }
    document.onselectstart=new Function ("return false");
    if (window.sidebar)
  • edited November 2017
    What you have above will only prevent the user from doing a right-click save as on the video. However even basic users can figure out the video’s url and download it directly with doing a right click.

    This is not specific to any browsers, it is due to the way the videos are delivered to the browser. The only way to truly prevent this is to convert the video delivery to stream the video’s content and only allow users with a token to access them. Even then the authorized user can still piece the video’s data together and end up with the file. This is just how the HTTP/internet spec works in its current state. All of this is considered DRM (digital rights management).
Sign In or Register to comment.