I'm trying to load a video from another PHP file so it will be like my main playlist
video code:
<video id="video" class="video-js" controls="" preload="none" data-setup="{}">
<source src="v.php?video=[video id in playlist]" type="video/mp4">
</video>
For v.php the code is
<?php
$video = $_GET['video'];
if($video == 1) echo "https://lh3.googleusercontent.com/Ev9OED5LnZLILAXH_RaOS0Ytdq_LDDglugy_7XmeYJb49Cr5lA7wWQ8XTYIuuagfX74-mgcBDw=m22";
//next video....
?>
But it will not load the video.?
P.S. the video is online to test the code