File size: 4,913 Bytes
ef4a08b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>S4ITMM 4K PLAYER</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" />
<style>
:root {
--primary-yellow: #ffcc00;
--bg-dark: #0f172a;
}
body {
/* 4K Background Image */
background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9)),
url('https://images.unsplash.com/photo-1574629810360-7efbbe195018?q=80&w=2000&auto=format&fit=crop');
background-size: cover;
background-position: center;
background-attachment: fixed;
color: #ffffff;
font-family: 'Segoe UI', sans-serif;
margin: 0;
padding: 0;
height: 100vh;
display: flex;
flex-direction: column;
}
.header { padding: 20px; display: flex; align-items: center; background: rgba(0,0,0,0.3); backdrop-filter: blur(5px); }
.back-btn { background: rgba(255,255,255,0.1); border: none; color: var(--primary-yellow); width: 45px; height: 45px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.header h1 { margin-left: 15px; font-size: 20px; color: var(--primary-yellow); font-weight: 900; letter-spacing: 1px; }
/* Best View Player Container */
.player-section {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 10px;
}
.player-container {
width: 100%;
max-width: 850px;
aspect-ratio: 16/9;
background: #000;
position: relative;
overflow: hidden;
border-radius: 20px;
border: 2px solid rgba(255,204,0,0.3);
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}
video { width: 100%; height: 100%; object-fit: contain; }
.info-card {
background: rgba(30, 41, 59, 0.8);
backdrop-filter: blur(15px);
width: 90%;
max-width: 450px;
margin: 20px auto;
padding: 25px;
border-radius: 30px;
text-align: center;
border: 1px solid rgba(255,255,255,0.1);
}
.v-title { margin: 0 0 15px 0; font-size: 1.4rem; font-weight: 800; color: #fff; }
.btn-more {
background: linear-gradient(90deg, #ffcc00, #facc15);
color: #000;
padding: 16px;
border-radius: 18px;
font-weight: 900;
text-decoration: none;
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
font-size: 1rem;
box-shadow: 0 10px 20px rgba(255, 204, 0, 0.3);
transition: 0.3s;
}
.btn-more:active { transform: scale(0.95); }
.s4-brand { margin-top: 15px; font-size: 12px; font-weight: bold; color: var(--primary-yellow); opacity: 0.8; }
</style>
</head>
<body>
<header class="header">
<button class="back-btn" onclick="history.back()"><i class="fas fa-arrow-left"></i></button>
<h1>S4ITMM 4K PLAYER</h1>
</header>
<main class="player-section">
<div class="player-container">
<video id="main-player" controls autoplay playsinline></video>
</div>
<div class="info-card">
<h2 id="v-title" class="v-title">S4ITMM STREAMING</h2>
<a href="https://msportmm.vercel.app" class="btn-more" id="more-btn">
<i class="fas fa-play-circle"></i> FOR MORE EPISODES
</a>
<div class="s4-brand">S4ITMM TEXT ONLY</div>
</div>
</main>
<script type="text/JavaScript">
window.onload = function() {
const urlParams = new URLSearchParams(window.location.search);
let videoUrl = urlParams.get('url') || urlParams.get('videoUrl');
const titleText = urlParams.get('title') || 'Now Playing';
const moreLink = urlParams.get('redirect');
document.getElementById('v-title').innerText = titleText;
if(moreLink) document.getElementById('more-btn').href = moreLink;
const video = document.getElementById('main-player');
if (videoUrl) {
// Referrer ကြောင့် block တာကို ကာကွယ်ရန်
video.setAttribute('referrerpolicy', 'no-referrer');
video.src = videoUrl;
// Auto-play ကြိုးစားမယ်
const playPromise = video.play();
if (playPromise !== undefined) {
playPromise.catch(error => {
console.log("User interaction required for autoplay");
});
}
} else {
document.getElementById('v-title').innerText = "Video URL Not Found";
}
};
</script>
</body>
</html>
|