IPTV Remote
(custom)
<!--title>IP-TV Player Control</title>
<link href="http://192.168.8.193:1331/favicon.ico" rel="icon" type="image/x-icon"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="Pragma" content="no-cache"/>
<meta http-equiv="ImageToolbar" content="no"/>
<meta name="viewport" content="width=410,initial-scale=0.8,maximum-scale=0.8,user-scalable=no"/-->
<style type="text/css">
.bod {
background-color:#cde;
margin:0px;padding:0px;
font-family:tahoma,arial,sans-serif;
font-size:20px;
}
.blue {
width:198px;
padding:2px;
/*margin-top:0px;margin-bottom:0px;*/
border-radius:15px;
background-color: #437fae;
border: 1px solid #2d6898;
background-image: linear-gradient(bottom, rgb(73,132,180) 0%, rgb(97,155,203) 100%);
box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
}
.buttonn, .selec {
cursor:pointer;
font-weight:bold;
text-align:center;
color:#fff;
border-radius:35px;
background-color: #538fbe;
border:1px solid #2d6898;
background-image: linear-gradient(bottom, rgb(73,132,180) 0%, rgb(97,155,203) 100%);
text-shadow: 0px 0px 6px rgba(0,0,0,.8);
box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
}
.buttonn {
display:block;
float:left;
width:40px;height:18px;
padding:5px;padding-top:8px;margin:6px;
text-decoration:none;
font-size:15px;
}
.selec {
width:98%;
font-size:25px;
padding:1px;
-webkit-appearance: none;
-moz-appearance: none;
text-indent: 1px;
text-overflow: '';
}
.optio {
text-align:left;
}
.buttonn.arr, select {
background-color: #638fbe;
border-radius:8px;
}
/*
button:hover,select:hover {
background-color: #73afde;
}
*/
.buttonn:active {
background-color: #73afde;
box-shadow: 0 3px 0 #2b638f;
transform: translateY(5px);
}
</style>
<script type="text/javascript">
function initChannels()
{
var xhr=new XMLHttpRequest();
xhr.onreadystatechange = function()
{
if(xhr.readyState==XMLHttpRequest.DONE)
if(xhr.status == 200)
if(xhr.responseText!='')
{
var a=eval('('+xhr.responseText+')').channels;
if (a.length>1) {
var s='';
for (var i=1;i!=a.length;i++) s+='<option>'+i+'. '+a[i].name+'</option>';
document.getElementById('ch_sel').innerHTML+=s;
}
}
}
xhr.open('GET','http://192.168.8.193:1331/channels/',true);
xhr.send();
}
function doSend(prm1,prm2)
{
var url='http://192.168.8.193:1331/send/'+prm1+'/'+prm2+'/';
if (window.XMLHttpRequest)
{
var xhr=new XMLHttpRequest();
xhr.open('GET',url,true);
xhr.send();
} else {
document.getElementById('doSend_div').innerHTML='<iframe src="'+url+'"></iframe>';
}
if (document.getElementById('ch_sel').length==1)
if ((prm1==2)||((prm1==1)&&(prm2==13))) setTimeout('location.reload();',5000);
}
</script>
<body class="bod">
<center>
<div class="blue">
<div class="buttonn" onclick="doSend(2, 0);" style="float:right;font-size:8px;padding-top:12px;height:15px;">ON / OFF</div>
<br clear="all"></br>
<div class="buttonn" onclick="doSend(3,48);" style="color:red;">R</div>
<div class="buttonn" onclick="doSend(3,13);">▅</div>
<div class="buttonn" onclick="doSend(3,47);">❚❚</div>
<div class="buttonn" onclick="doSend(3,50);"></div>
<div class="buttonn" onclick="doSend(3,46);">►</div>
<div class="buttonn" onclick="doSend(3,49);">>></div>
<br clear="all"></br>
<div class="buttonn" onclick="doSend(3, 1);">⇐</div>
<div class="buttonn" onclick="doSend(1,38);" class="arr">∧</div>
<div class="buttonn" onclick="doSend(1,70);">F</div>
<div class="buttonn"class="buttonn"class="buttonn" onclick="doSend(1,37);" class="arr"></div>
<div class="buttonn"class="buttonn" onclick="doSend(1,13);" class="arr">OK</div>
<div class="buttonn" onclick="doSend(1,39);" class="arr">></div>
<div class="buttonn" onclick="doSend(1,76);">L</div>
<div class="buttonn" onclick="doSend(1,40);" class="arr">∨</div>
<div class="buttonn" onclick="doSend(1,71);">G</div>
<br clear="all"></br>
<div class="buttonn" onclick="doSend(3,10);">V+</div>
<div class="buttonn" onclick="doSend(1,65);">A</div>
<div class="buttonn" onclick="doSend(3,51);">CH+</div>
<div class="buttonn" onclick="doSend(3, 9);">V-</div>
<div class="buttonn" onclick="doSend(1,77);">M</div>
<div class="buttonn" onclick="doSend(3,52);">CH-</div>
<br clear="all"></br>
<select id="ch_sel" onchange="doSend(0,this.selectedIndex);this.selectedIndex=0;"class="selec">
<option class="optio" selected="selected">CHANNELS ⇓</option>
</select>
<div class="buttonn" onclick="doSend(1,49);">1</div>
<div class="buttonn" onclick="doSend(1,50);">2</div>
<div class="buttonn" onclick="doSend(1,51);">3</div>
<div class="buttonn" onclick="doSend(1,52);">4</div>
<div class="buttonn" onclick="doSend(1,53);">5</div>
<div class="buttonn" onclick="doSend(1,54);">6</div>
<div class="buttonn" onclick="doSend(1,55);">7</div>
<div class="buttonn"class="buttonn"class="buttonn"class="buttonn"class="buttonn"class="buttonn"class="buttonn"class="buttonn"class="buttonn"class="buttonn" onclick="doSend(1,56);">8</div>
<div class="buttonn"class="buttonn"class="buttonn"class="buttonn"class="buttonn"class="buttonn"class="buttonn"class="buttonn"class="buttonn" onclick="doSend(1,57);">9</div>
<div class="buttonn"class="buttonn"class="buttonn"class="buttonn"class="buttonn"class="buttonn"class="buttonn"class="buttonn" onclick="doSend(1,191);">?</div>
<div class="buttonn"class="buttonn"class="buttonn"class="buttonn"class="buttonn"class="buttonn"class="buttonn" onclick="doSend(1,48);">0</div>
<div class="buttonn"class="buttonn"class="buttonn"class="buttonn"class="buttonn"class="buttonn" onclick="doSend(1,32);">_</div>
<br clear="all"></br>
<div class="buttonn" onclick="doSend(1,115);">F4</div>
<div class="buttonn"class="buttonn"class="buttonn"class="buttonn"class="buttonn" onclick="doSend(1,117);">F6</div>
<div class="buttonn"class="buttonn"class="buttonn"class="buttonn" onclick="doSend(1,118);">F7</div>
<div class="buttonn"class="buttonn"class="buttonn" onclick="doSend(1,107);">Z+</div>
<div class="buttonn"class="buttonn" onclick="doSend(1,109);">Z-</div>
<div class="buttonn" onclick="doSend(1,106);">Z*</div>
<br clear="all"></br>
<div class="buttonn" onclick="doSend(1,49);doSend(1,48);">
<img src="/images/logo-ctc6.png"width="31" height="18"></img></div>
<div class="buttonn" onclick="doSend(1,57) , doSend(1,54);">
<img src="/images/Sony sci-fi.png"width="31" height="18"></img></div>
<div class="buttonn" onclick="doSend(1,56);">
<img src="/images/ТНТ.png"width="31" height="21"></img></div>
<div class="buttonn" onclick="doSend(1,49);doSend(1,55);doSend(1,52);">
<img src="/images/Nickelodeon.png"width="31" height="18"></img></div>
<div class="buttonn" onclick="doSend(1,49);doSend(1,55);doSend(1,53);">
<img src="/images/Nickelodeon HD.png"width="31" height="18"></img></div>
<br clear="all"></br>
</div>
</center>
<div id="doSend_div" style="display:none;"></div>
<script type="text/javascript">if (window.XMLHttpRequest) initChannels();</script>
</body>