Stephen_Josey
Stephen_Josey

Reputation: 50

HTML 5 Preventing Download

I am working a website, and I'm trying to prevent the video file to be downloadable.

I've already prevented the right click function, and I've used a webiste called http://htmlobfuscator.com/ that allows the source code to be very difficult to decipher. The only issue I now have remaining is the inspect element feature on browsers. Does anyone know of any way to prevent this? I know that someone is always going to find a way to download or capture a video, but I'm just trying to limit the spread of my videos.

Thanks for your help, Stephen

Upvotes: 0

Views: 285

Answers (2)

Ian Hazzard
Ian Hazzard

Reputation: 7771

There is no way to stop a browser's document inspector from finding your file's location. However, I am a recording musician, and I know of a few things you can do to make thieving more difficult.

  1. Put your JS video location in an external file. Not a lot of protection here, but worthwhile enough to add.
  2. Break up the video location into a few different JS variables. Your thief would at least need some basic JavaScript knowledge to get to the video location.
  3. Use an obfuscater, like you did. (I LOVE HTMLObfuscator!)
  4. You could use flash video. This is difficult to download, but slower viewing, and also a bit more difficult to create and host on your website.

The best thing to use is streaming video, but not everyone is able to do that either.

Good luck!

Upvotes: 1

Simpson
Simpson

Reputation: 42

There is no actually way of completely stopping someone, you could however as some have mentioned use something like Vimeo or YouTube to minimize the downloading of your videos, or another way you could do it and have found from personal experience is either creating a login/register on your site to make someone signup to get your video thus minimizing how many can download it or you can encrypt the video with a password, i believe Vimeo has this option which requires someone to enter a password in before even viewing the video.

Yet these are just two ways to Minimize not completely stop.

Upvotes: 1

Related Questions