Pambata Talaga' website MO Ang Dali I Copy Paste hahahah
<!DOCTYPE html><html lang="en"><meta http-equiv="content-type" content="text/html;charset=UTF-8" /><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>BASTIKWANG TV</title> <link rel="stylesheet" href="
https://cdn.jsdelivr.net/npm/shaka-player@latest/dist/controls.css"> <script src="
https://cdn.jsdelivr.net/npm/shaka-player@latest/dist/shaka-player.ui.debug.js"></script> <script disable-devtool-auto src='
https://cdn.jsdelivr.net/npm/disable-devtool@latest'></script> <script src="
channels.js"></script> <style> @import url('
You do not have permission to view the full content of this post.
Log in or register now. body { margin: 0; font-family: 'Roboto', sans-serif; background-image: url('bg.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat; color: #fff; display: flex; flex-direction: column; align-items: center; min-height: 100vh; overflow-x: hidden; /* Prevent horizontal scroll
/ } #wrapper { width: 100%; max-width: 100%; / Allow full width for TV screens
/ text-align: center; position: relative; height: 100vh; } #home-page { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; } #title { font-size: 36px; font-weight: bold; margin: 20px 0; color: #e50914; } #clock { position: absolute; top: 20px; right: 20px; font-size: 72px; / 3 times bigger than original 24px
/ font-weight: bold; color: #fff; background: rgba(0, 0, 0, 0.5); padding: 10px; border-radius: 5px; z-index: 10; } #channels { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 3; width: 80%; / Adjust width as needed
/ max-width: 1200px; / Max width for large screens
/ } .channel-slider-wrapper { position: relative; display: flex; align-items: center; } .channel-slider { display: flex; overflow-x: auto; gap: 10px; padding: 10px; scroll-behavior: smooth; flex-grow: 1; scrollbar-width: none; / Hide scrollbar for TV
/ -ms-overflow-style: none; / Hide scrollbar for IE/Edge
/ } .channel-slider::-webkit-scrollbar { display: none; / Hide scrollbar for WebKit
/ } .arrow-button { background: rgba(0, 0, 0, 0.8); color: white; border: none; padding: 15px; cursor: pointer; z-index: 10; font-size: 24px; border-radius: 50%; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); display: none; / Hide arrows on TV, use remote
/ } .arrow-left { margin-right: 10px; } .arrow-right { margin-left: 10px; } .channel-card { flex: 0 0 auto; width: 40px; / Half of original 80px
/ background: #222; border-radius: 8px; text-align: center; padding: 5px; / Adjusted padding proportionally
/ cursor: pointer; transition: transform 0.2s; display: flex; flex-direction: column; align-items: center; justify-content: space-between; height: 50px; / Half of original 100px
/ tab-index: 0; / Make focusable for remote
/ } .channel-card:focus { outline: 2px solid #e50914; / Highlight on focus
/ transform: scale(1.05); } .channel-card:hover, .channel-card:focus { transform: scale(1.05); } .channel-logo { width: 40px; / Half of original 80px
/ height: 40px; / Half of original 80px
/ object-fit: contain; border-radius: 5px; } .channel-name { font-size: 6px; / Half of original 12px
/ font-weight: bold; color: #e50914; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; } #video-page { display: none; position: relative; width: 100%; height: 100vh; overflow: hidden; } #video-container { position: relative; width: 100%; height: 100%; cursor: pointer; background-color: black; / Set video player background to black
/ } video, iframe { width: 100%; height: 100%; border-radius: 0; box-shadow: none; z-index: 1; position: absolute; top: 0; left: 0; } / Responsive adjustments for smaller screens
/ Media (max-width: 768px) { #title { font-size: 24px; } .channel-card { width: 40px; / Half of original 80px
/ height: 55px; / Half of original 110px
/ } .channel-logo { width: 30px; / Half of original 60px
/ height: 30px; / Half of original 60px
/ } .channel-name { font-size: 5px; / Half of original 10px
/ } } Media (max-width: 480px) { #title { font-size: 20px; } .channel-card { width: 35px; / Half of original 70px
/ height: 50px; / Half of original 100px
/ } .channel-logo { width: 25px; / Half of original 50px
/ height: 25px; / Half of original 50px
/ } .channel-name { font-size: 5px; / Half of original 9px, rounded up */ } } </style> </head><body> <div id="wrapper"> <div id="home-page"> <div id="clock"></div> <!-- Added clock div --> <div id="channels"> <!-- Channels will be generated dynamically --> </div> </div> <div id="video-page"> <div id="video-container"> <iframe id="youtube-video" allowfullscreen></iframe> <video id="video" autoplay></video> </div> </div> </div> <script> // Function to update the clock function updateClock() { const now = new Date(); const hours = now.getHours().toString().padStart(2, '0'); const minutes = now.getMinutes().toString().padStart(2, '0'); const seconds = now.getSeconds().toString().padStart(2, '0'); document.getElementById('clock').textContent =
${hours}:${minutes}:${seconds}; } // Function to go to video page and enter fullscreen (zoom mode) function goToVideo() { document.getElementById('home-page').style.display = 'none'; document.getElementById('video-page').style.display = 'block'; toggleFullscreen(); const video = document.getElementById('video'); video.volume = 1; video.play().catch(err => { console.error('Autoplay failed:', err); }); // Disable pause and stop video.addEventListener('pause', function(e) { e.preventDefault(); video.play(); }); video.addEventListener('ended', function(e) { e.preventDefault(); video.play(); }); // Add click listener to video to go back to main menu video.addEventListener('click', goBack); } // Function to go back to home page and stop the video function goBack() { if (document.fullscreenElement) { document.exitFullscreen(); } const video = document.getElementById('video'); // Remove the listeners that prevent pause video.removeEventListener('pause', arguments.callee); // Note: This is a simple way, but better to store references video.removeEventListener('ended', arguments.callee); // Removed video.pause() to prevent stopping the video when returning to main menu document.getElementById('video-page').style.display = 'none'; document.getElementById('home-page').style.display = 'flex'; } // Function to toggle fullscreen (zoom mode) function toggleFullscreen() { const videoContainer = document.getElementById('video-container'); if (!document.fullscreenElement) { videoContainer.requestFullscreen().catch(err => { console.error(
Error attempting to enable full-screen mode: ${err.message}); }); } else { document.exitFullscreen(); } } // Auto-populate channels on load (assuming channels.js handles this) document.addEventListener('DOMContentLoaded', function() { // Start the clock updateClock(); setInterval(updateClock, 1000); // Update every second // Assuming channels.js populates the channels and adds event listeners to channel cards // Modify to go to video page on click const channelCards = document.querySelectorAll('.channel-card'); channelCards.forEach(card => { card.addEventListener('click', function() { goToVideo(); }); }); }); </script></body></html>