I'm storing mp4 videos in a folder outside of the root, but need to stream them to a password protected webpage. I tried this code, but it isn't seeing the files. (I'm using an Apache webhost)
<video width="500" height="282" controls>
<source src="$videoPath<?php echo $video_file;?>" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
The error "No video with supported format and MIME type found" shows
When I put the video in the root and switch the path, it works fine.
Any help is greatly appreciated.