I want to play mp4 video from url but not playing..
This is php code mp4.php
$video_file = 'https://opsukrat.in/Test.mp4';
$size = filesize($video_file);
header("Content-Type: video/mp4");
header("Content-Length: ".$size);
readfile($video_file);
This is html code
<video width="480" height="320" controls>
<source src="mp4.php" type="video/mp4">
</video>