javascript - prevent html5 video from being downloaded through inspect element -
we have module in our project there option of uploading mp4 videos , using html5 video tag player playing videos.
problem facing privacy of videos.at time easy user download our file either through right click save video or taking url src of video tag inspect element. have studied lot, , got idea blob url through youtube videos not accesible through anyway. tried study blob-url, created 1 video url still accessible , can downloaded. youtube blob-url not working. studied ques question first answer, through got idea youtube mechanism of buffering video , how blob url shown in inspect element youtube spoof.
most importantly want know how can spoof our website url no 1 can download through inspect element. possible , how? link related please share me.i have tried study lot still missing something.
what mechanism youtube follow creating blob url , save videos?
as video has arrive @ users device there no way can stop user intercepting , storing file if want to.
the typical solution problem encrypt file , share key encrypted video people want view it. 'bad' user can still download video file not able play without correct key.
how key users can simple (you tell them directly via separate communication channel, email) or more sophisticated using sort of drm approach.
drm controversial (see firefox discussion @ link below) being baked standards html5 eme (encrypted meida extensions) becoming more mainstream. eme allow browser request trusted (by video producer) element in browser/device decode , play encrypted video. see overview of eme @ second link below.
Comments
Post a Comment