My code
<div id="my-video"></div>
<script src="{{ asset('js/jwplayer.js') }}"></script>
<script type="text/javascript">
jwplayer("my-video").setup({
autostart: false,
file: "{{ asset('videos/18ThemeDetection.mp4') }}",
image: "{{ asset('vimg/18ThemeDetection.png') }}",
width: "1000",
height: "700",
primary: "html",
});
</script>
In this, my download manager is downloading the file. How can I protect video from downloading?
Is it right what I am doing? or need to change something
Please help. Thank you