Server : Apache System : Linux 145.162.205.92.host.secureserver.net 5.14.0-611.45.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Apr 1 05:56:53 EDT 2026 x86_64 User : tradze ( 1001) PHP Version : 8.1.34 Disable Function : NONE Directory : /home/tradze/public_html/dev/storage/framework/views/ |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tradze</title>
<style>
html, body {
margin: 0;
padding: 0;
background: black;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
video {
max-width: 100%;
max-height: 100%;
width: auto;
height: auto;
object-fit: contain; /* Keeps aspect ratio */
background: black;
}
/* Mobile optimization */
@media (max-width: 768px) {
video {
width: 100%;
height: auto;
}
}
</style>
</head>
<body>
<video id="tradzeVideo"
src="https://tradze.com/watch/tradze_how.mov"
autoplay
muted
controls
playsinline>
</video>
<script>
const video = document.getElementById('tradzeVideo');
// Request fullscreen after the video starts
window.addEventListener('load', async () => {
try {
await video.play();
// Request fullscreen
if (video.requestFullscreen) {
await video.requestFullscreen();
} else if (video.webkitRequestFullscreen) { // Safari
await video.webkitRequestFullscreen();
} else if (video.msRequestFullscreen) { // IE/Edge
await video.msRequestFullscreen();
}
} catch (err) {
console.error("Autoplay or fullscreen failed:", err);
}
});
</script>
</body>
</html>