Chile

Global Search

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

[canais_mundo pais=”cl”]


C77 TV Chile 3 — QR Reader + PWA (Test) body{font-family:Arial,Helvetica,sans-serif;margin:0;padding:18px;background:#f7f7f8;color:#222} .wrap{max-width:480px;margin:0 auto;text-align:center} h1{font-size:20px;margin-bottom:4px} p.lead{color:#444;margin-top:0;font-size:14px} #qrcode{margin:14px auto;padding:6px;background:white;display:inline-block;border-radius:8px} #reader{width:100%;max-width:360px;margin:10px auto;display:none} button{display:inline-block;margin:8px 6px;padding:12px 16px;border-radius:8px;border:0;cursor:pointer;font-size:15px} #startBtn{background:#007BFF;color:white} #installBtn{background:#28a745;color:white;display:none} footer{margin-top:18px;font-size:12px;color:#666} .note{font-size:13px;color:#555;margin-top:8px}

C77TV.com Chile – Share with your friends

Scan the QR for https://www.c77tv.com/chile/. Point another camera at this QR or print it.

C77TV QR Code
NOTE: After creating the shortcut (Chrome/Android), the page opens via HTTPS. On iOS (Safari) the automatic button does not appear — use Share → Add to Home Screen.
(function(){ // Target URL for QR const targetUrl = ‘https://www.c77tv.com/chile/’; // ——- 1) GENERATE VISIBLE QR CODE ——– try{ new QRCode(document.getElementById(‘qrcode’), { text: targetUrl, width: 220, height: 220, colorDark: “#000000”, colorLight: “#ffffff”, correctLevel: QRCode.CorrectLevel.H }); }catch(err){ console.warn(‘Error generating QR:’, err); } // ——- 2) CREATE DYNAMIC MANIFEST (for PWA) ——– function makeSvgIcon(size){ const svg = “+ “+ `C77TV`; return ‘data:image/svg+xml;utf8,’+encodeURIComponent(svg); } const manifestObj = { name: ‘C77TV Chile’, short_name: ‘C77TV Chile’, start_url: window.location.href, display: ‘standalone’, background_color: ‘#ffffff’, theme_color: ‘#007BFF’, icons: [ { src: makeSvgIcon(192), sizes: ‘192×192’, type: ‘image/svg+xml’ }, { src: makeSvgIcon(512), sizes: ‘512×512’, type: ‘image/svg+xml’ } ] }; const manifestBlob = new Blob([JSON.stringify(manifestObj)], {type: ‘application/json’}); const manifestURL = URL.createObjectURL(manifestBlob); const link = document.createElement(‘link’); link.rel = ‘manifest’; link.href = manifestURL; document.head.appendChild(link); // ——- 3) DYNAMIC SERVICE WORKER (basic) ——– const swCode = `self.addEventListener(‘install’, function(e){self.skipWaiting();});n`+ `self.addEventListener(‘activate’, function(e){self.clients.claim();});n`+ `self.addEventListener(‘fetch’, function(e){ e.respondWith(fetch(e.request).catch(()=>{})); });`; const swBlob = new Blob([swCode], {type: ‘text/javascript’}); const swUrl = URL.createObjectURL(swBlob); if(‘serviceWorker’ in navigator){ navigator.serviceWorker.register(swUrl).then(function(reg){ console.log(‘Service Worker registered (dynamic):’, reg); }).catch(function(err){ console.warn(‘Failed to register Service Worker:’, err); }); } // ——- 4) PWA: before install prompt ——– let deferredPrompt = null; window.addEventListener(‘beforeinstallprompt’, function(e){ e.preventDefault(); deferredPrompt = e; document.getElementById(‘installBtn’).style.display = ‘inline-block’; }); document.getElementById(‘installBtn’).addEventListener(‘click’, async function(){ if(!deferredPrompt) return; deferredPrompt.prompt(); const choice = await deferredPrompt.userChoice; console.log(‘User choice:’, choice); deferredPrompt = null; this.style.display = ‘none’; }); // ——- 5) QR READER (activates on click) ——– let scannerActive = false; let html5QrcodeScanner = null; function onScanSuccess(decodedText, decodedResult){ console.log(‘QR scanned:’, decodedText); if(decodedText && decodedText.indexOf(targetUrl) !== -1){ if(html5QrcodeScanner){ html5QrcodeScanner.clear().then(()=>{ window.location.href = decodedText; }).catch(()=>{ window.location.href = decodedText; }); }else{ window.location.href = decodedText; } } else { try{ const u = new URL(decodedText); if(html5QrcodeScanner){ html5QrcodeScanner.clear().then(()=>window.open(decodedText, ‘_blank’)).catch(()=>window.open(decodedText, ‘_blank’)); } else { window.open(decodedText, ‘_blank’); } }catch(err){ console.log(‘QR content (not URL):’, decodedText); } } } function onScanError(errorMessage){} document.getElementById(‘startBtn’).addEventListener(‘click’, function(){ if(scannerActive) return; document.getElementById(‘reader’).style.display = ‘block’; scannerActive = true; html5QrcodeScanner = new Html5QrcodeScanner(‘reader’, { fps: 10, qrbox: 250 }, false); html5QrcodeScanner.render(onScanSuccess, onScanError); }); console.log(‘Page ready. To test: 1) open this HTML on an HTTPS host; 2) click “Activate QR Code Reader” on a mobile; 3) point to the QR shown here (or another QR).’); })();

Find a Place to Stay

Live TV

Chile

Public channels organized by category. Choose a stream and watch without leaving the page.

109 channels
Select a channel The player will open here.
No channels found with this filter.