I have a video.php page like this:
<?php $videolink = $_GET['urlpath']; ?>
<video width="100%" height="100%" controls autoplay>
<source src="/videos/<?php echo $videolink; ?>.mp4">
</video>
Url Example:
http://example.com/video.php?urlpath=video1
Sample Url Output:
<video width="100%" height="100%" controls autoplay>
<source src="/videos/video1.mp4">
</video>
What I want to do is this: How can I remove '/videos/video1.mp4' from the page source code? Or can I pull it from a different file? I don't want it to appear directly in the page source code, thank you.