Download Player-2.html from M-SPORT/Download: direct link, hf CLI and curl.
- Browser
- Download file 4.91 kB
-
https://huggingface.co/spaces/M-SPORT/Download/resolve/main/Player-2.html
- Command line
-
hf download hf://spaces/M-SPORT/Download/Player-2.html
-
curl -L -o Player-2.html https://huggingface.co/spaces/M-SPORT/Download/resolve/main/Player-2.html
4.91 kB
| <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> | |