{"id":578,"date":"2026-11-23T21:20:59","date_gmt":"2026-11-23T21:20:59","guid":{"rendered":"https:\/\/iptvmate.net\/blog\/?page_id=578"},"modified":"2026-11-23T22:40:47","modified_gmt":"2026-11-23T22:40:47","slug":"iptv-player","status":"publish","type":"page","link":"https:\/\/iptvmate.net\/blog\/iptv-player\/","title":{"rendered":"IPTV Player"},"content":{"rendered":"<p><!-- IPTV Mate: paste this entire fragment into the WordPress Classic Editor's Text tab. --><\/p>\n<div id=\"iptv-mate-app\" class=\"im-app\">\n<div class=\"im-shell\">\n<header class=\"im-header\">\n<div class=\"im-brand\"><span class=\"im-brand-icon\" aria-hidden=\"true\"><svg viewBox=\"0 0 24 24\" fill=\"none\"><rect x=\"3\" y=\"5\" width=\"18\" height=\"14\" rx=\"4\" stroke=\"currentColor\" stroke-width=\"1.7\"\/><path d=\"m10 9 5 3-5 3V9Z\" fill=\"currentColor\"\/><\/svg><\/span><span>iptv<span class=\"im-brand-accent\">mate<\/span><small>YOUR PERSONAL PLAYER<\/small><\/span><\/div>\n<p>      <span class=\"im-header-label\"><span><\/span> READY WHEN YOU ARE<\/span><br \/>\n    <\/header>\n<p>    <main class=\"im-main\"><\/p>\n<div class=\"im-heading\">\n<div>\n<div class=\"im-eyebrow\"><span><\/span> YOUR STREAMING SPACE<\/div>\n<h1>Welcome to your screen.<\/h1>\n<p>All your channels, one place. Just add a stream and press play.<\/p>\n<\/div>\n<div class=\"im-heading-side\">LIVE TV <span>\/<\/span> YOUR WAY<\/div>\n<\/div>\n<section class=\"im-player-section\" aria-label=\"Video player\">\n<div class=\"im-player-top\">\n<div><span class=\"im-live-dot\"><\/span><span id=\"im-now-label\">PLAYER<\/span><\/div>\n<p><span id=\"im-player-status\">READY TO WATCH<\/span><\/div>\n<div class=\"im-screen\" id=\"im-screen\">\n          <video id=\"im-video\" controls playsinline preload=\"metadata\" aria-label=\"Live stream player\"><\/video><\/p>\n<div class=\"im-placeholder\" id=\"im-placeholder\">\n<div class=\"im-play-ring\"><svg viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\"><path d=\"m9 6 9 6-9 6V6Z\" fill=\"currentColor\"\/><\/svg><\/div>\n<p><strong>Your next favorite channel awaits.<\/strong><span>Add a stream URL or playlist below to start watching.<\/span><\/div>\n<\/p><\/div>\n<div class=\"im-player-bottom\">\n<div><span class=\"im-signal\" aria-hidden=\"true\">\u25a5<\/span><strong id=\"im-now-title\">Nothing playing yet<\/strong><span id=\"im-now-subtitle\">Your stream will appear here<\/span><\/div>\n<p><span class=\"im-format\">LIVE STREAM PLAYER<\/span><\/div>\n<\/section>\n<div class=\"im-content-grid\">\n<section class=\"im-panel im-source-panel\" aria-labelledby=\"im-source-title\">\n<div class=\"im-panel-heading\">\n<div>\n<div class=\"im-eyebrow\">GET STARTED<\/div>\n<h2 id=\"im-source-title\">Add your content<\/h2>\n<p>Choose how you\u2019d like to watch.<\/p>\n<\/div>\n<p><span class=\"im-panel-icon\" aria-hidden=\"true\">\uff0b<\/span><\/div>\n<div class=\"im-tabs\" role=\"tablist\" aria-label=\"Source type\"><button type=\"button\" class=\"im-tab is-active\" role=\"tab\" aria-selected=\"true\" aria-controls=\"im-stream-pane\" id=\"im-stream-tab\">Stream URL<\/button><button type=\"button\" class=\"im-tab\" role=\"tab\" aria-selected=\"false\" aria-controls=\"im-playlist-pane\" id=\"im-playlist-tab\">Playlist<\/button><\/div>\n<div id=\"im-stream-pane\" role=\"tabpanel\" aria-labelledby=\"im-stream-tab\">\n<form id=\"im-stream-form\"><label for=\"im-stream-url\">CHANNEL URL<\/label><\/p>\n<div class=\"im-input-row\"><input id=\"im-stream-url\" type=\"url\" placeholder=\"https:\/\/example.com\/live\/stream.m3u8\" required><button type=\"submit\" class=\"im-primary\">Play stream <span aria-hidden=\"true\">\u25b6<\/span><\/button><\/div>\n<p class=\"im-hint\">Paste a direct link to a live channel to start watching.<\/p>\n<\/form>\n<\/div>\n<div id=\"im-playlist-pane\" role=\"tabpanel\" aria-labelledby=\"im-playlist-tab\" hidden>\n<form id=\"im-playlist-form\"><label for=\"im-playlist-input\">PLAYLIST URL OR M3U CONTENT<\/label><textarea id=\"im-playlist-input\" rows=\"3\" placeholder=\"Paste an M3U playlist URL or its contents here\"><\/textarea><\/p>\n<div class=\"im-playlist-actions\"><button type=\"submit\" class=\"im-primary\">Load playlist<\/button><label class=\"im-upload\" for=\"im-file\">Upload M3U file<\/label><input id=\"im-file\" type=\"file\" accept=\".m3u,.m3u8,audio\/x-mpegurl,application\/vnd.apple.mpegurl\" hidden><\/div>\n<p class=\"im-hint\">Supports M3U and M3U8 playlist files.<\/p>\n<\/form>\n<\/div>\n<p id=\"im-message\" class=\"im-message\" role=\"status\" aria-live=\"polite\">\n<\/section>\n<section class=\"im-panel im-channels\" aria-labelledby=\"im-channels-title\">\n<div class=\"im-panel-heading\">\n<div>\n<div class=\"im-eyebrow\">YOUR COLLECTION<\/div>\n<h2 id=\"im-channels-title\">Channels <span id=\"im-count\">0<\/span><\/h2>\n<\/div>\n<p><button type=\"button\" id=\"im-clear\" class=\"im-clear\" hidden>Clear<\/button><\/div>\n<div id=\"im-channel-empty\" class=\"im-channel-empty\">\n<div class=\"im-list-icon\" aria-hidden=\"true\">\u2637<\/div>\n<p><strong>Your lineup starts here<\/strong><\/p>\n<p>Load a playlist to see your channels.<\/p>\n<\/div>\n<div id=\"im-list-wrap\" hidden><label class=\"im-search-label\" for=\"im-search\">Search channels<\/label><input id=\"im-search\" type=\"search\" placeholder=\"Search channels\u2026\"><\/p>\n<div id=\"im-channel-list\" class=\"im-channel-list\"><\/div>\n<\/div>\n<\/section><\/div>\n<footer class=\"im-footer\"><span>MADE FOR THE WAY YOU WATCH.<\/span><span>IPTVMATE <b>\u25cf<\/b> YOUR STREAM, YOUR SCREEN<\/span><\/footer>\n<p>    <\/main>\n  <\/div>\n<\/div>\n<style>\nbody.page-id-578 #primary{width:100%;float:none;margin:0} body.page-id-578 #secondary{display:none} body.page-id-578 #post-578{padding:0} body.page-id-578 #post-578 > .entry-header{padding:25px 20px 0}#iptv-mate-app{--im-bg:#0b0d15;--im-panel:#141722;--im-border:#292d3a;--im-text:#f3f3f8;--im-muted:#9296a8;--im-accent:#b4f45e;color:var(--im-text);background:var(--im-bg);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,\"Segoe UI\",sans-serif;line-height:1.5;box-sizing:border-box;min-height:100vh;font-size:16px}#iptv-mate-app *{box-sizing:border-box}#iptv-mate-app .im-shell{max-width:1500px;margin:auto}#iptv-mate-app button,#iptv-mate-app input,#iptv-mate-app textarea{font:inherit}#iptv-mate-app button{cursor:pointer}#iptv-mate-app .im-header{height:82px;border-bottom:1px solid #252834;display:flex;align-items:center;justify-content:space-between;padding:0 6%}#iptv-mate-app .im-brand{display:flex;align-items:center;gap:11px;font-size:21px;font-weight:800;letter-spacing:-1px;line-height:1}#iptv-mate-app .im-brand-icon{height:39px;width:39px;border-radius:12px;background:var(--im-accent);color:#141a0f;display:grid;place-items:center}#iptv-mate-app .im-brand-icon svg{width:24px;height:24px}#iptv-mate-app .im-brand-accent{color:var(--im-accent)}#iptv-mate-app .im-brand small{display:block;color:#777c8f;font-size:8px;letter-spacing:1.6px;margin-top:6px}#iptv-mate-app .im-header-label{font-size:10px;letter-spacing:1.5px;color:#8d92a2;font-weight:700}#iptv-mate-app .im-header-label span,#iptv-mate-app .im-eyebrow span{display:inline-block;width:6px;height:6px;background:var(--im-accent);border-radius:50%;vertical-align:middle;margin-right:8px}#iptv-mate-app .im-main{max-width:1160px;margin:auto;padding:54px 24px 28px}#iptv-mate-app .im-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:30px;gap:20px}#iptv-mate-app .im-eyebrow{font-size:10px;font-weight:800;letter-spacing:1.8px;color:var(--im-accent);margin-bottom:10px}#iptv-mate-app h1,#iptv-mate-app h2,#iptv-mate-app p{margin:0;color:inherit}#iptv-mate-app h1{font-size:clamp(30px,4vw,46px);line-height:1.12;letter-spacing:-1.8px;font-weight:750}#iptv-mate-app .im-heading p{color:var(--im-muted);margin-top:10px;font-size:15px}#iptv-mate-app .im-heading-side{white-space:nowrap;color:#777c8f;font-size:10px;letter-spacing:1.5px;font-weight:700;padding-bottom:5px}#iptv-mate-app .im-heading-side span{color:var(--im-accent);margin:0 7px}#iptv-mate-app .im-player-section{background:#11141e;border:1px solid #2b2f3c;border-radius:14px;overflow:hidden;box-shadow:0 24px 70px #0005}#iptv-mate-app .im-player-top{height:47px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;color:#a7aaba;font-size:10px;font-weight:800;letter-spacing:1.4px}#iptv-mate-app .im-live-dot{display:inline-block;width:7px;height:7px;background:var(--im-accent);border-radius:50%;margin-right:9px}#iptv-mate-app #im-player-status{color:#747a8b}#iptv-mate-app .im-screen{position:relative;aspect-ratio:16\/9;background:radial-gradient(ellipse at center,#202633 0%,#10131c 48%,#090b11 100%);overflow:hidden}#iptv-mate-app video{position:absolute;inset:0;width:100%;height:100%;background:#090b11;object-fit:contain}#iptv-mate-app .im-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;pointer-events:none;background:radial-gradient(ellipse at center,#242a38 0%,#12151e 54%,#090b11 100%);padding:20px}#iptv-mate-app .im-placeholder[hidden]{display:none}#iptv-mate-app .im-placeholder strong{font-size:18px;letter-spacing:-.3px;margin-top:22px}#iptv-mate-app .im-placeholder span{color:#9297a8;font-size:14px;margin-top:6px}#iptv-mate-app .im-play-ring{width:76px;height:76px;border-radius:50%;border:1px solid #687363;background:#b4f45e17;display:grid;place-items:center;color:var(--im-accent);box-shadow:0 0 0 12px #b4f45e09}#iptv-mate-app .im-play-ring svg{width:30px;height:30px;margin-left:4px}#iptv-mate-app .im-player-bottom{min-height:70px;padding:15px 20px;display:flex;justify-content:space-between;align-items:center;gap:15px}#iptv-mate-app .im-player-bottom>div{display:grid;grid-template-columns:30px auto;column-gap:10px}#iptv-mate-app .im-signal{grid-row:span 2;background:#262c28;color:var(--im-accent);width:30px;height:30px;border-radius:8px;display:grid;place-items:center}#iptv-mate-app .im-player-bottom strong{font-size:13px;line-height:1.2}#iptv-mate-app .im-player-bottom #im-now-subtitle{font-size:11px;color:#888e9f;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:65vw}#iptv-mate-app .im-format{font-size:9px;letter-spacing:1.3px;color:#777d8d;font-weight:800;white-space:nowrap}#iptv-mate-app .im-content-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:18px;margin-top:24px}#iptv-mate-app .im-panel{background:var(--im-panel);border:1px solid var(--im-border);border-radius:14px;padding:25px}#iptv-mate-app .im-panel-heading{display:flex;justify-content:space-between;align-items:start;margin-bottom:24px}#iptv-mate-app .im-panel h2{font-size:20px;letter-spacing:-.5px;line-height:1.2;font-weight:750}#iptv-mate-app .im-panel-heading p{font-size:13px;color:var(--im-muted);margin-top:7px}#iptv-mate-app .im-panel-icon{border:1px solid #343b35;background:#222b25;color:var(--im-accent);height:37px;width:37px;display:grid;place-items:center;border-radius:10px;font-size:22px}#iptv-mate-app .im-tabs{display:flex;border-bottom:1px solid #303440;margin-bottom:21px;gap:23px}#iptv-mate-app .im-tab{padding:0 1px 12px;background:none;border:0;border-bottom:2px solid transparent;color:#888e9e;font-weight:650;font-size:13px;border-radius:0}#iptv-mate-app .im-tab.is-active{color:var(--im-accent);border-color:var(--im-accent)}#iptv-mate-app label:not(.im-upload):not(.im-search-label){display:block;font-size:10px;font-weight:800;letter-spacing:1.2px;color:#b8bdc9;margin-bottom:9px}#iptv-mate-app .im-input-row{display:flex;gap:9px}#iptv-mate-app input:not([type=file]),#iptv-mate-app textarea{min-width:0;width:100%;border:1px solid #363b49;border-radius:8px;background:#0c0f18;color:#f6f7f8;padding:13px 14px;outline:none;font-size:13px;line-height:1.4}#iptv-mate-app input:focus,#iptv-mate-app textarea:focus{border-color:var(--im-accent)}#iptv-mate-app input::placeholder,#iptv-mate-app textarea::placeholder{color:#73798b}#iptv-mate-app textarea{resize:vertical}#iptv-mate-app .im-primary{background:var(--im-accent);border:1px solid var(--im-accent);border-radius:8px;color:#18220e;padding:12px 17px;font-size:13px;font-weight:800;white-space:nowrap}#iptv-mate-app .im-primary:hover{background:#c9ff85}#iptv-mate-app .im-primary span{font-size:9px;margin-left:8px}#iptv-mate-app .im-hint{color:#858b9d;font-size:12px;margin-top:11px}#iptv-mate-app .im-playlist-actions{display:flex;align-items:center;gap:15px;margin-top:12px;flex-wrap:wrap}#iptv-mate-app .im-upload{color:#d4d8e2;font-size:13px;font-weight:700;cursor:pointer;text-decoration:underline;text-underline-offset:3px}#iptv-mate-app .im-message{font-size:13px;margin-top:12px;color:var(--im-accent)}#iptv-mate-app .im-message:empty{display:none}#iptv-mate-app .im-message.is-error{color:#ffb4ac}#iptv-mate-app #im-count{font-size:11px;color:#adb3c2;background:#2b303b;border-radius:20px;padding:4px 8px;vertical-align:middle;margin-left:5px}#iptv-mate-app .im-clear{background:none;border:0;color:#a9afbe;font-size:12px;padding:4px}#iptv-mate-app .im-channel-empty{min-height:130px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center}#iptv-mate-app .im-channel-empty[hidden],#iptv-mate-app [hidden]{display:none!important}#iptv-mate-app .im-list-icon{background:#222630;border:1px solid #323744;border-radius:10px;width:38px;height:38px;display:grid;place-items:center;color:#a3aab8;font-size:23px;margin-bottom:10px}#iptv-mate-app .im-channel-empty strong{font-size:13px}#iptv-mate-app .im-channel-empty p{font-size:12px;color:#858b9d;margin-top:4px}#iptv-mate-app .im-search-label{position:absolute;left:-9999px}#iptv-mate-app .im-channel-list{max-height:200px;overflow:auto;margin-top:8px}#iptv-mate-app .im-channel{display:flex;width:100%;align-items:center;text-align:left;gap:10px;padding:10px 6px;background:none;border:0;border-bottom:1px solid #2c303a;color:#e8eaf0;font-size:13px}#iptv-mate-app .im-channel:hover,#iptv-mate-app .im-channel.is-current{color:var(--im-accent)}#iptv-mate-app .im-channel-number{color:#777e8f;font-size:11px;min-width:25px}#iptv-mate-app .im-channel-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#iptv-mate-app .im-channel-play{margin-left:auto;font-size:10px}#iptv-mate-app .im-footer{display:flex;justify-content:space-between;gap:12px;color:#656b7a;font-size:9px;letter-spacing:1.25px;font-weight:700;padding:27px 2px 0}#iptv-mate-app .im-footer b{color:var(--im-accent);margin:0 5px}#iptv-mate-app button:focus-visible,#iptv-mate-app .im-upload:focus-visible{outline:2px solid var(--im-accent);outline-offset:3px}@media(max-width:700px){#iptv-mate-app .im-header{height:70px;padding:0 20px}#iptv-mate-app .im-header-label{display:none}#iptv-mate-app .im-main{padding:36px 16px 25px}#iptv-mate-app .im-heading-side{display:none}#iptv-mate-app .im-content-grid{grid-template-columns:1fr}#iptv-mate-app .im-panel{padding:20px}#iptv-mate-app .im-placeholder strong{font-size:15px;margin-top:13px}#iptv-mate-app .im-placeholder span{font-size:12px}#iptv-mate-app .im-play-ring{width:52px;height:52px}#iptv-mate-app .im-play-ring svg{width:24px}#iptv-mate-app .im-format{display:none}#iptv-mate-app .im-footer{flex-direction:column} }@media(max-width:460px){#iptv-mate-app .im-input-row{flex-direction:column}#iptv-mate-app .im-primary{width:100%}#iptv-mate-app .im-playlist-actions .im-primary{width:auto}#iptv-mate-app .im-player-top{height:40px}}\n<\/style>\n<p><script src=\"https:\/\/cdn.jsdelivr.net\/npm\/hls.js@1.6.15\/dist\/hls.min.js\"><\/script><br \/>\n<script>\n(function(){\n  'use strict';\n  var root=document.getElementById('iptv-mate-app'); if(!root)return;\n  var $=function(id){return root.querySelector('#'+id)};\n  var video=$('im-video'), placeholder=$('im-placeholder'), message=$('im-message'), list=$('im-channel-list');\n  var hls=null, channels=[], currentUrl='';\n  function tell(text,error){message.textContent=text;message.classList.toggle('is-error',!!error)}\n  function validUrl(value,base){try{var u=new URL(value,base||window.location.href);return \/^(https?:)$\/.test(u.protocol)?u.href:null}catch(e){return null}}\n  function streamName(url){try{var u=new URL(url);return decodeURIComponent(u.pathname.split('\/').filter(Boolean).pop()||u.hostname)}catch(e){return 'Live stream'}}\n  function play(url,name){\n    url=validUrl(url); if(!url){tell('Please enter a valid http or https stream URL.',true);return}\n    currentUrl=url; if(hls){hls.destroy();hls=null} video.pause();video.removeAttribute('src');video.load();video.muted=false;\n    placeholder.hidden=true;$('im-now-label').textContent='NOW PLAYING';$('im-now-title').textContent=name||streamName(url);$('im-now-subtitle').textContent=url;$('im-player-status').textContent='CONNECTING';tell('');renderChannels();\n    var isHls=\/\\.m3u8(?:$|[?#])\/i.test(url);\n    if(isHls && window.Hls && Hls.isSupported()){\n      hls=new Hls();var activeHls=hls;activeHls.loadSource(url);activeHls.attachMedia(video);activeHls.on(Hls.Events.ERROR,function(event,data){if(data.fatal && hls===activeHls){$('im-player-status').textContent='STREAM ERROR';tell('Could not play this stream. Check the URL and that the stream allows browser access.',true);activeHls.destroy();hls=null}});\n    }else{video.src=url}\n    var promise=video.play(); if(promise&&promise.catch)promise.catch(function(error){\n      if(currentUrl!==url || error.name==='AbortError')return;\n      if(error.name!=='NotAllowedError'){$('im-player-status').textContent='STREAM ERROR';tell('Could not play this stream. Check the URL, format, and browser access.',true);return}\n      video.muted=true;var retry=video.play();if(retry&&retry.catch)retry.catch(function(retryError){if(currentUrl!==url || retryError.name==='AbortError')return;if(retryError.name==='NotAllowedError'){$('im-player-status').textContent='PRESS PLAY';tell('Your browser blocked autoplay. Press play in the video player to start.')}else{$('im-player-status').textContent='STREAM ERROR';tell('Could not play this stream. Check the URL, format, and browser access.',true)}});\n    });\n  }\n  video.addEventListener('playing',function(){$('im-player-status').textContent='PLAYING';if(video.muted)tell('Stream started muted. Use the player controls to turn on sound.')});\n  video.addEventListener('waiting',function(){$('im-player-status').textContent='BUFFERING'});\n  video.addEventListener('error',function(){if(video.currentSrc){$('im-player-status').textContent='STREAM ERROR';tell('Could not play this stream. Check the URL, format, and browser access.',true)}});\n  $('im-stream-form').addEventListener('submit',function(e){e.preventDefault();play($('im-stream-url').value.trim(),'Live stream')});\n  function switchTab(tab){var stream=tab==='stream';$('im-stream-pane').hidden=!stream;$('im-playlist-pane').hidden=stream;['stream','playlist'].forEach(function(key){var el=$('im-'+key+'-tab'),active=key===tab;el.classList.toggle('is-active',active);el.setAttribute('aria-selected',String(active))});tell('')}\n  $('im-stream-tab').addEventListener('click',function(){switchTab('stream')});$('im-playlist-tab').addEventListener('click',function(){switchTab('playlist')});\n  function parsePlaylist(text,base){\n    var lines=text.replace(\/^\\uFEFF\/,'').split(\/\\r?\\n\/),results=[],info=null;\n    lines.forEach(function(line){line=line.trim();if(!line)return;if(\/^#EXTINF:\/i.test(line)){var comma=line.indexOf(',');var title=comma>=0?line.slice(comma+1).trim():'';var match=line.match(\/tvg-name\\s*=\\s*\"([^\"]*)\"\/i);info={name:title||(match&&match[1])||''};return}if(line.charAt(0)==='#')return;var url=validUrl(line,base);if(url)results.push({url:url,name:info&&info.name||streamName(url)});info=null});return results;\n  }\n  function loadPlaylist(text,base){var parsed=parsePlaylist(text,base);if(!parsed.length){tell('No playable channel URLs were found in this playlist.',true);return}channels=parsed;$('im-search').value='';renderChannels();tell('Loaded '+channels.length+' channel'+(channels.length===1?'':'s')+'. Select one to watch.')}\n  function renderChannels(){\n    $('im-count').textContent=String(channels.length);$('im-channel-empty').hidden=channels.length>0;$('im-list-wrap').hidden=!channels.length;$('im-clear').hidden=!channels.length;list.replaceChildren();var query=$('im-search').value.trim().toLowerCase(),shown=0;\n    channels.forEach(function(channel,index){if(query&&channel.name.toLowerCase().indexOf(query)===-1)return;shown++;var button=document.createElement('button');button.type='button';button.className='im-channel'+(channel.url===currentUrl?' is-current':'');var num=document.createElement('span');num.className='im-channel-number';num.textContent=String(index+1).padStart(2,'0');var name=document.createElement('span');name.className='im-channel-name';name.textContent=channel.name;var icon=document.createElement('span');icon.className='im-channel-play';icon.textContent='\u25b6';button.append(num,name,icon);button.addEventListener('click',function(){play(channel.url,channel.name)});list.appendChild(button)});\n    if(channels.length&&!shown){var empty=document.createElement('p');empty.className='im-hint';empty.textContent='No matching channels.';list.appendChild(empty)}\n  }\n  $('im-search').addEventListener('input',renderChannels);$('im-clear').addEventListener('click',function(){channels=[];renderChannels();tell('Playlist cleared.')});\n  $('im-playlist-form').addEventListener('submit',function(e){e.preventDefault();var input=$('im-playlist-input').value.trim();if(!input){tell('Paste a playlist URL or M3U content first.',true);return}if(\/^https?:\\\/\\\/\\S+$\/i.test(input)){tell('Loading playlist\u2026');fetch(input).then(function(response){if(!response.ok)throw new Error('Request failed');return response.text()}).then(function(text){loadPlaylist(text,input)}).catch(function(){tell('Could not load this playlist. The server may not allow browser access; try uploading the file instead.',true)});}else loadPlaylist(input,window.location.href)});\n  $('im-file').addEventListener('change',function(e){var file=e.target.files[0];if(!file)return;file.text().then(function(text){loadPlaylist(text,window.location.href)}).catch(function(){tell('Could not read that file.',true)});e.target.value=''});\n  var params=new URLSearchParams(window.location.search),incoming=params.get('url')||params.get('channel');if(incoming){$('im-stream-url').value=incoming;play(incoming,'Live stream')}\n})();\n<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>iptvmateYOUR PERSONAL PLAYER READY WHEN YOU ARE YOUR STREAMING SPACE Welcome to your screen. All your channels, one place. Just add a stream and press play. LIVE TV \/ YOUR WAY PLAYER&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-578","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/iptvmate.net\/blog\/wp-json\/wp\/v2\/pages\/578","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/iptvmate.net\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/iptvmate.net\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/iptvmate.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/iptvmate.net\/blog\/wp-json\/wp\/v2\/comments?post=578"}],"version-history":[{"count":6,"href":"https:\/\/iptvmate.net\/blog\/wp-json\/wp\/v2\/pages\/578\/revisions"}],"predecessor-version":[{"id":587,"href":"https:\/\/iptvmate.net\/blog\/wp-json\/wp\/v2\/pages\/578\/revisions\/587"}],"wp:attachment":[{"href":"https:\/\/iptvmate.net\/blog\/wp-json\/wp\/v2\/media?parent=578"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}