Jump to content
Sign in to follow this  
rhishi20

how to disable 'save video as' option in HTML5 video control

Recommended Posts

I have used html5 video control which is streaming video over our website. after right clicking video control 'save video as' option is available. but i just want to give authority of streaming to the viewer. so, please suggest me how to disable 'save video as' option from that list.

Share this post


Link to post
Share on other sites

You can't remove that option, the same as you can't remove the "Save image as..." option on images.

Share this post


Link to post
Share on other sites

I thought it was possible to stream video with some protections against someone saving the video, but I'm sure that wasn't HTML5 video.

Share this post


Link to post
Share on other sites

you can't prevent people from saving a video thats streaming onto their PC. Just like you can't read my post and then not be allowed to remember it.

 

You can make it harder for the user to save the video. but anyone who can see the video can work hard enough to save it. be it by either viewing the browser resources to see the actual video file the server is letting the browser 'borrow', by fishing the video out of the browser cache, or by performing actual video capture with some program like camtasia.

  • Like 1

Share this post


Link to post
Share on other sites

You can't remove that option, the same as you can't remove the "Save image as..." option on images.

You can.

in the <img> tag add <img oncontextmenu="return false;"> Will stop right clicking on an image.

Share this post


Link to post
Share on other sites

are you positive? are you sure oncontextmenu isn't a browser-specific attribute? that may work on some browsers but I could instead open up in like chrome and have no trouble saving the image. or again I can simply look at the href attribute in any browser and cut out the middle man.

Share this post


Link to post
Share on other sites

Despite being able to stop right clicking, you still can't stop them from taking the image or the video. They can copy the URL from the page's source code, or check all the page media from the browser's options.

 

There's no way to protect content that you've posted online.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...