Sindbad~EG File Manager

Current Path : /home/beeson/public_html/WebMathXpert/
Upload File :
Current File : //home/beeson/public_html/WebMathXpert/testmp4.html

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>MP4 Video Player</title>
</head>
<body>
	<h2>Show Me Video</h2>
<video id="ShowMe" width="640" height="360" controls preload="auto">
    <source src="ShowMe.mp4" type="video/mp4">
</video>

<script>
	document.addEventListener('DOMContentLoaded', () => {
	    const video = document.getElementById('ShowMe');
	    if (video) {
	        console.log('Video element detected:', video);

	        video.addEventListener('loadstart', () => console.log('Video load started'));
	        video.addEventListener('canplay', () => console.log('Video can play'));
	        video.addEventListener('canplaythrough', () => console.log('Video can play through'));
	        video.addEventListener('error', (e) => console.log('Video error:', e));
	    } else {
	        console.log('Video element not detected');
	    }
	});
</script>
</body>
</html>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists