ChrisDaniels
Well-Known Member
Some of the content is region locked too, hence why i havent put them all on the custom portal.
Newbie question {winces} Havent seen this before, accessed via PC, how can this/ does this relate to the humax in terms of being able to access all this content via the box, or display it on my TV via the PC?
#!/mod/bin/jimsh
package require cgi
source /mod/var/mongoose/lib/setup
puts "Content-Type: text/html; no-cache"
puts "Expires: Thu, 01 Jan 1970 00:00:00 GMT"
puts "Pragma: nocache"
puts ""
puts {<!doctype html>
<html>
<head>
<META HTTP-EQUIV="REFRESH" CONTENT="10">
<title>Your Cam</title>
<link type="text/css" href="css/style.css" rel="Stylesheet" />
</head>
<body>
<div id=main>
<center>
<img src=http://192.168.0.X/snapshot.cgi?user=user&pwd=password width=1270 height=768>
</div>
</body>
</html>
}
#!/mod/bin/jimsh
package require cgi
source /mod/var/mongoose/lib/setup
puts "Content-Type: text/html; no-cache"
puts "Expires: Thu, 01 Jan 1970 00:00:00 GMT"
puts "Pragma: nocache"
puts ""
puts {<!doctype html>
<html>
<head>
<title>Test page</title>
<link rel="stylesheet" href="css/wfnb.css" type="text/css" media="screen,projection" />
<script type="text/javascript">
//<![CDATA[
var player = null;
var broadcast = null;
window.onload = function() {
if (document.location.hash.substr(1,1)=="a") { loop1 = 1; }
document.addEventListener("keydown", function(e) { if (tastendruck(e.keyCode)) e.preventDefault(); }, false);
try {
broadcast=document.getElementById('video');
player = document.getElementById('video1');
player.onPlayStateChange = function() { updatePlayState(); };
player.data = 'http://videos.revision3.com/revision3/web/diggnation/0335/diggnation--0335--hackingsiri--large.h264.mp4';
broadcast.setTVOff();
player.play(1);
} catch (e) {
alert('Cannot play video');
loadpopup1();
if (loop1==1) {
window.setTimeout(function() {document.location.href = "index.html#a1"; }, 81000);
} else if (loop1==0) {
window.setTimeout("startseite(1)", 81000);
}
}
};
function updatePlayState() {
if (player.playState==1) { // video playing
loadpopup1();
}
if ((player.playState==5)&&(loop1==1)) { // video finished
document.location.href = "index.jim";
broadcast.setTVOn();
} else if ((player.playState==5)&&(loop1==0)) {
startseite(1);
}
}
var fokus0 = 1;
function loadpopup3() {
document.getElementById("content").className = "show";
displaynr = 3;
visible('ausgeblendet', displays[displaynr]);
if (loop1==1) { window.setTimeout("nextdisplay()", 4500); }
window.setTimeout("hideit(displays[displaynr])", 16300);
}
function loadpopup1() {
displaynr = 1;
window.setTimeout("visible('ausgeblendet', displays[displaynr])", 23500);
if (loop1==1) { window.setTimeout("nextdisplay()", 27300); }
window.setTimeout("hideit(displays[displaynr])", 37400);
window.setTimeout("loadpopup3()", 53500);
}
//]]>
</script>
</head>
<body>
<div id="hashes"><a name="a1"></a></div>
<object id="appmgr" type="application/oipfApplicationManager" style="position: absolute; left: 0px; top: 0px; width: 0px; height: 0px;"></object>
<object id="video" type="video/broadcast"></object>
<object id="video1" type="video/mp4" style="position: absolute; left: 0px; top: 0px; width: 1280px; height: 720px; outline: transparent; -ant-user-input: disabled; -ant-highlight-colour: transparent;"></object>
<div id="content" class="hide">
<div id="panel" class="hide">
<img src="img/panel-allin1-bg.png" />
<div id="panel-text-li">Ausblenden</div>
<div id="panel-text-re"></div>
</div>
<div id="popup1" class="hide">
</div>
</body>
</html>
}
Not being techy do you think its something that will/ could be worked on? It sounds then like it worked previously.I think the errors are because Sky have changed something in the backend. I'm seeing this error posted on DigitalSpy too.
I don't use it myself however, so I cannot confirm if it works or not.
when I said "basic monitor" it is very very basic ... it just <img src> to load the image full screen with the HTML meta refresh tag to reload the image every few seconds.