Matsaki
Registered
I have a serious problem that drives me crazy here. I have a dreambox (Linux based) decoder and my TV is broken so I used my PB Pro to watch n change channels from the web interface (Safari & Firefox). When the 64 bit Safari came out I could not get the stream for some reason. So I runned it on 32 bit.
Now my PB Pro also is broken and in for repair so I tok out my good old Powerbook G4 Alu, running OS X 10.58. And hey, the streaming is not working in any browser?!? I made sure that I have the newest VLC plugins and player as this is used for the streaming.
Now I was thinking to paste the code of the streaming window that opens for the stream, if some clever guy can understand why it wont stream? I think there maybe is a javascript problem. Only a guess.
Good to know is that I can stream direct to VLC Player and that works fine. But a darn hustle to change channels etc.
What ever the answer, I really would like to know whats going on?!?
Her is the code:
Now my PB Pro also is broken and in for repair so I tok out my good old Powerbook G4 Alu, running OS X 10.58. And hey, the streaming is not working in any browser?!? I made sure that I have the newest VLC plugins and player as this is used for the streaming.
Now I was thinking to paste the code of the streaming window that opens for the stream, if some clever guy can understand why it wont stream? I think there maybe is a javascript problem. Only a guess.
Good to know is that I can stream direct to VLC Player and that works fine. But a darn hustle to change channels etc.
What ever the answer, I really would like to know whats going on?!?
Her is the code:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
<title>Dreambox WebTV</title>
<!-- External libs
<script type="text/javascript" src="/web-data/lib/prototype-1.6.1_rc3.js"></script>
<script type="text/javascript" src="/web-data/lib/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="/web-data/lib/shadedborder.js"></script>
<script type="text/javascript" src="/web-data/lib/trimpath-template-1.0.38.js"></script>
-->
<script type="text/javascript" src="/web-data/lib/libs_minified.js"></script>
<!-- userprefs Object -->
<script type="text/javascript" src="/web-data/userprefs.js"></script>
<!-- our stuff //-->
<script type="text/javascript" src="/web-data/objects.js" ></script>
<script type="text/javascript" src="/web-data/statics.js" ></script>
<script type="text/javascript" src="/web-data/tools.js" ></script>
<script type="text/javascript" src="/web-data/timer.js" ></script>
<script type="text/javascript" src="/web-data/vlcplayer.js" ></script>
<link href="/web-data/tpl/default/streaminterface/style.css" type="text/css" rel="stylesheet">
<link rel="shortcut icon" type="/web-data/image/x-icon" href="/web-data/img/favicon.ico">
<!-- Live RSS Feeds //-->
<link rel="alternate" type="application/rss+xml" title="Movie List" href="/web/movielist.rss?tag" >
<script language="javascript" type="text/javascript">
if (!window.$) {
window.$ = function(id) { return document.getElementById(id); }
}
function getWinSize(win)
{
if(!win) win = window;
var s = {};
if(typeof win.innerWidth != 'undefined')
{
s.width = win.innerWidth;
s.height = win.innerHeight;
}
else
{
var obj = getBody(win);
s.width = parseInt(obj.clientWidth);
s.height = parseInt(obj.clientHeight);
}
return s;
}
function getBody(w)
{
return (w.document.compatMode && w.document.compatMode == "CSS1Compat") ? w.document.documentElement : w.document.body || null;
}
function setMaxHeight(element){
/*
try{
var slc = $(element);
size = getWinSize();
slc.style.maxHeight = size.height - 200+"px";
} catch (e) {}
*/
//onresize="setMaxHeight('contentMain')"
}
</script>
</head>
<body onload="document.getElementById('notification').style.display='none'">
<div id="container">
<div id="banner">
<span id="notification"><div></div></span>
<div id="bannerLeft">
<div id="bannerText" style="font-size: 24px;">
<img src="/web-data/tpl/default/streaminterface/img/dreamboxwebtv.png" alt="Dreambox WebTV">
</div>
<div id="current">
</div>
</div>
<div id="bannerRight">
<table id="volumeTable">
<tr>
<td>Volume: </td>
<td id="vlcVolume"></td>
</tr>
</table>
</div>
</div>
<!-- <div id="current">-->
<!-- <div id="currentContent">-->
<!-- <ul id="mainMenu">-->
<!-- <li><a href="#" onClick="switchStreamMode('TV')">TeleVision</a></li>-->
<!-- <li><a href="#" onClick="switchStreamMode('Radio')">Radio</a></li>-->
<!-- </ul>-->
<!-- </div>-->
<!-- </div>-->
<div id="content">
<div id="contentMain">
<center>
<div id="vlcPlayer">
<embed
type="application/x-vlc-plugin"
pluginspage="http://www.videolan.org"
version="VideoLAN.VLCPlugin.2"
width="768"
height="576"
id="vlc">
</embed>
</div>
<div id="vlcButtons">
<button onClick="vlcPrev()" title="Previous Service">
<img src="/web-data/tpl/default/streaminterface/img/control_start_blue.png" alt="<<" />
</button>
<button onClick="vlcPlay()" title="Play">
<img src="/web-data/tpl/default/streaminterface/img/control_play_blue.png" alt=">" />
</button>
<button onClick="vlcNext()" title="Next Service">
<img src="/web-data/tpl/default/streaminterface/img/control_end_blue.png" alt="<<" />
</button>
<button onClick="vlcStop()" title="Stop">
<img src="/web-data/tpl/default/streaminterface/img/control_stop_blue.png" alt="Stop" />
</button>
<button onClick="vlcFullscreen()" title="Fullscren">
<img src="/web-data/tpl/default/streaminterface/img/monitor.png" alt="Fullscreen" />
</button>
<!-- <button onClick="teletext()" title="Teletext">-->
<!-- <img src="/web-data/tpl/default/streaminterface/img/text_align_center.png" alt="Teletext" />-->
<!-- </button>-->
<button onClick="vlcVolumeDown()" title="Volume Down">
<img src="/web-data/tpl/default/streaminterface/img/sound_delete.png" alt="Vol-" />
</button>
<button onClick="vlcToogleMute()" title="Mute Audio">
<img src="/web-data/tpl/default/streaminterface/img/sound_mute.png" alt="Mute" />
</button>
<button onClick="vlcVolumeUp()" title="Volume Up">
<img src="/web-data/tpl/default/streaminterface/img/sound_add.png" alt="Vol+" />
</button>
<input type="checkbox" id="vlcZap" title="Also zap on TV (for Subservices)">Zap</input>
<br>
<span id="bouquetList"></span>
<span id="channelList"></span>
</div>
</center>
</div>
</div>
</div>
<script language="javascript" type="text/javascript">
initWebTv();
</script>
</body>
</html>