summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorM. Voerman <rekordc@gmail.com>2014-01-05 15:26:57 +0100
committerM. Voerman <rekordc@gmail.com>2014-01-05 15:26:57 +0100
commite90adeae6a91f6774bb298d0d620090a146d204b (patch)
treeeadb0a238c3e44910d3e1c75a28fe3ff4ab2eab0 /index.html
parent3ca4ae1df4002a83fbe62176cb76b83cf7b27a5a (diff)
downloadvdr-vipclient-e90adeae6a91f6774bb298d0d620090a146d204b.tar.gz
vdr-vipclient-e90adeae6a91f6774bb298d0d620090a146d204b.tar.bz2
added delay before starting pip stream
Diffstat (limited to 'index.html')
-rw-r--r--index.html15
1 files changed, 5 insertions, 10 deletions
diff --git a/index.html b/index.html
index f069215..8d04194 100644
--- a/index.html
+++ b/index.html
@@ -34,6 +34,9 @@ function onLoad() {
addPipVideoplane();
createPip();
}
+ if(PipSwitchGuide){
+ createPip();
+ }
embedTeletextPlugin();
toi.audioOutputService.setVolume(AudioOut, StartVolume);
@@ -394,9 +397,8 @@ try {
} else {
uri = ServerAdres[ChanGroup] + uri;
}
-
pipPlayer.open(uri);
- pipPlayer.play(1000);
+ setTimeout("pipPlayer.play(1000);", 500);
} catch (e) {
alert("Failed opening PIP stream: " + e);
return;
@@ -467,8 +469,6 @@ function preview(urip) {
pipplay(urip);
}
-
-
if (isSchedule) { schedule.style.opacity = 0; isSchedule = 0;}
if (epgactive) { osdepginfo.style.opacity = 0; osdepginfonext.style.opacity = 0; epgactive = 0;}
showChannelList();
@@ -610,11 +610,10 @@ function FullScreen() {
videoplane.style.height = "100%";
videoplane.style.left = "0px";
videoplane.style.top = "0px";
- if(PipSwitchGuide && pipPlayer){
+ if(PipSwitchGuide){
if (pipPlayer.getState() != pipPlayer.STATE_IDLE) {
pipPlayer.close();
}
- pipPlayer.releaseInstance();
}
}
@@ -929,10 +928,6 @@ function onKeyDown(event) {
case KEY_FAV:
case "Scroll":
if(isFullscreen) {
- if(PipSwitchGuide){
-// addPipVideoplane();
- createPip();
- }
NowNext = 0;
videoplane.style.width = (320*Xfactor[Set_Res])+"px";
videoplane.style.height = (240*Yfactor[Set_Res])+"px";