Spaces:
Paused

Download / Xnxxplayer.html
LiveSportmm's picture
Update Xnxxplayer.html
52c1a5f verified
Raw History Blame Contribute Delete
5.04 kB
<!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" />
<meta name="referrer" content="no-referrer" />
<title>FOTMOV Player - Stable Mode</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; --card-bg: #1e293b; }
body { background-color: var(--bg-dark); color: #ffffff; font-family: sans-serif; margin: 0; padding: 0; overflow-x: hidden; }
.header { padding: 15px 20px; display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.05); }
.back-btn { background: rgba(255,255,255,0.1); border: none; color: var(--primary-yellow); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.header h1 { margin-left: 15px; font-size: 18px; color: var(--primary-yellow); font-weight: 800; margin: 0; text-transform: uppercase; }
.player-container {
width: 95%;
max-width: 800px;
margin: 15px auto;
aspect-ratio: 16/9;
background: #000;
position: relative;
overflow: hidden;
border-radius: 12px;
border: 1px solid rgba(255,255,255,0.1);
box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
video { width: 100%; height: 100%; object-fit: contain; }
.info-card {
background: var(--card-bg);
margin: 20px;
padding: 25px 20px;
border-radius: 20px;
text-align: center;
}
.btn-more {
background: var(--primary-yellow);
color: #000;
padding: 16px;
border-radius: 12px;
font-weight: bold;
text-decoration: none;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
margin-top: 20px;
transition: 0.2s;
}
.btn-more:active { transform: scale(0.95); }
#error-msg { color: #ff4444; font-size: 14px; margin-top: 10px; display: none; }
</style>
</head>
<body>
<header class="header">
<button class="back-btn" onclick="history.back()"><i class="fas fa-chevron-left"></i></button>
<h1>FOTMOV TV<span style="color:white; font-weight:lighter; font-size:12px;">STABLE PLAYER</span></h1>
</header>
<div class="player-container">
<video
id="main-player"
controls
autoplay
playsinline
webkit-playsinline
poster="mmvoice.jpg">
</video>
</div>
<div class="info-card">
<h2 id="v-title" style="margin:0; font-size:1.1rem; line-height:1.4;">Loading Title...</h2>
<div id="error-msg">ဗီဒီယိုဖွင့်ရန် အခက်အခဲရှိနေပါသည်။ လင့်ခ်သေသွားခြင်း ဖြစ်နိုင်ပါသည်။</div>
<a href="http://bamarthan.vercel.app/" class="btn-more" id="more-btn">
<i class="fas fa-tv"></i>ဘောလုံးပွဲကြည့်ရန်
</a>
<a href="https://m-sport-download.static.hf.space" class="btn-more" id="more-btn">
<i class="fas fa-download"></i>(Apkဒေါင်းရန်)
</a>
</div>
<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') || 'FOTMOV - 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');
const errorMsg = document.getElementById('error-msg');
if (videoUrl) {
// Video Source ကို တိုက်ရိုက်ထည့်သွင်းခြင်း
video.src = videoUrl;
// Video စတင် Load လုပ်ခြင်း
video.load();
// Error တက်ခဲ့လျှင် User ကို အသိပေးရန်
video.onerror = function() {
errorMsg.style.display = 'block';
document.getElementById('v-title').style.color = '#ff4444';
};
// Autoplay ကြိုးစားခြင်း
video.play().catch(function(error) {
console.log("Autoplay was prevented. Waiting for user interaction.");
// User Interaction လိုအပ်ပါက video controls ကနေ manual နှိပ်ပေးရပါမယ်။
});
} else {
document.getElementById('v-title').innerText = "Video Link မတွေ့ရှိပါ။";
}
};
</script>
</body>
</html>