+ 3

WordPress security.

Hello friends I am worried about the security of content copy: - I wanted to know if there is any way to protect the video my wordpress website from catching by the download as like Internet Download Manager or prevent them to download videos I have seen on hotstar.com there is a downloading restriction so that nobody can download their videos with the help of Internet Download Manager or any other third parties downloaders. if hear in this community anyone know how to protect the wordpres content

8th Oct 2017, 6:49 AM
Niyamatulla Ansari
Niyamatulla Ansari - avatar
1 Odpowiedź
+ 5
I don't think there is a direct way, but you can make the data grabbing harder Here are methods on making a grabber's life harder. Like I said earlier, these are not fool-proof methods, but can at least ward off skiddies. Video to Canvas technique Recently I came across this article from HTML5Doctor while researching motion detection in JS. This involves streaming your video via a <video>, then with some JS, literally copy the video to a <canvas>. Here's an example where the video is up front, while the canvas at the back get's fed with data from that same video. Essentially, what you do is: Predefine on the HTML or dynamically insert a <canvas> to the DOM. This is the "player" that the user sees. Dynamically create a video tag via JS, append it to the DOM hidden and give it a url to stream. This will be the video source for the canvas. Then with JS, you periodically grab data from the <video> you just created and draw it to the <canvas>. With this step, the video gets fed to the canvas. https://stackoverflow.com/questions/9756837/prevent-html5-video-from-being-downloaded-right-click-saved
8th Oct 2017, 7:30 AM
Aqua9
Aqua9 - avatar