1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Lack of Interest Disable Video Download

Discussion in 'Media Gallery Closed Suggestions' started by willy2000, Jul 22, 2015.

  1. willy2000

    willy2000 Member

    Video Download must me able to be disable by admin, so this reduce load in server or easy video copy
    51463 likes this.
  2. Chris D

    Chris D XenForo Developer Staff Member

    It's impossible to prevent it completely.

    There is a permission:

    Which disables this button:

    But the default behaviour of pretty much all browsers will still allow that to be downloaded via its right click context menu. Even if you can remove the default browser controls the URL to the video is plainly visible.

    That said, if you're users aren't very "savvy", for example, they're not likely to know how to view the page source to get the video URL, then you might be able to disable the context menu for the video element with this custom JS:

       $('.video-js').bind('contextmenu', function() { return false; });
    Add that to the bottom of your xengallery_media_view template (or similar).

    And that is pretty much all you can do. There may be other ways to do this. Obviously sites like YouTube and Vimeo use proprietary video players and on the surface it would seem that these seem to block the ability to directly download their contents, but, of course, there are may ways and many sites out there that will download any content you like from these sites in seconds. So, with that in mind the best you will do is slow people down rather than actually properly preventing this.
  3. willy2000

    willy2000 Member

    Thanks work great this is that I need.

    Please I post a thread asking how show video player bigger when I share the video in a thread, now show too small
    Screen Shot 07-22-15 at 03.36 PM.PNG
    51463 likes this.
  4. 51463

    51463 Well-Known Member

    I agree with this suggestion.

    What we need is to separate the permissions now that video uploading is avilable. Not just 1 "Download Media"

    Download Videos
    Download Images


    I know you said that people can still download videos even if you give us that option .

    But i would say the majority of users aren't so much computer savvy. So this would help us with server resources and still being able to download images.

    Last edited: Aug 20, 2015
  5. Brogan

    Brogan XenForo Moderator Staff Member

    If the permission doesn't do what it purports to then it's a pointless and misleading permission.

Share This Page