Make downloading Html5 video difficult

Asked

Viewed 162 times

0

I would like to make it difficult to download Html5 videos from the URL, which the user can inspect (examine with browser functions). Searching the Net saw that there is a 100% way not to allow the advanced user to download videos.

I am using the Html5 tag to display videos of an EAD course:

<video id="video" 
       src="localhost/path/#{Manegbean.bancoDado.codigo}.mp4" 
       preload="auto" 
       width="780px" 
       height="490px" 
       controls="controls"/>

What I’ve been able to do so far is disable oncontextmenu (false), not to allow the option to save the video by the browser, but if the user inspects (is a smart user can see the videos).

Does anyone have a hint on how well I can hide, the tag that lets me view the videos? If I had this possibility! If you have any way to give more security to the content you are welcome.

Thank you!

  • 2

    Please do not put image in code format. This makes it difficult to read and use code for testing.

  • 2

    Why put a picture of the code instead of the code directly? This makes it difficult to test and difficult to use screen readers (people with some degree of visual impairment)

  • You can always edit your question or answer by clicking on the [Edit] link, so you improve your post and get more attention from the community. Visit [tour] and see best practices. Good Luck

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.