I have a video table which contains (more than one) id and video_path. I want to play video one after another from the database using PHP in HTML5. note that I keep only video path in the table.
I am trying
PHP
$connection...
while($row = mysqli_fetch_assoc($controller)) {
$id = $row['id'];
$url = $row['video_path'];
$vdo = $_POST[$url];
}
HTML
<video id="custom_video_play" width="400" controls="controls" src="$vdo" autoplay="autoplay" loop>
</video>
my database query is working properly. I want to fix the code error only to watch video in web page. if someone please help! Thanks in advance