Video player widget download issue?

I am using Mendix video player which allows to download video content from player menu and from browsers right click save video option. I want to disable both the options.
1 answers

Hi Rohit,


You can achieve this by invoking nanoflow and in nanoflow, you need to grab video tags and set controlsList to nodownload and oncontextmenu to return false;


controlsList to nodownload will remove download option from controls and oncontextmenu to return false will disable right click on the video.


Though, still video source will be available in DOM and can be viewed by inspecting dom. And in order to protect files from being downloaded you need to have streaming service rather than http delivery.