Problem:
I am developing a video tutorial site in php. I do not want to anybody to download this file using "IDM" or "right click and save option" .
What I tried
1:
<?php
$data = file_get_contents($first->video, FILE_BINARY);
?>
<video src="data:video/mp4;base64,<?=base64_encode($data)?>" controls></video>
2: Disabled right click
Results: it worked for me but it load full video on page so very slow.
I need any alternative for this? Thanks