From 1c8ffeb5b479c77415a1ea0121ec7d1337089868 Mon Sep 17 00:00:00 2001 From: "M. Voerman" Date: Thu, 13 Dec 2012 12:56:42 +0100 Subject: Starting to work on Video Out. Nothing working yet, because I don't have a HDMI TV devices to test it with. --- index.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'index.html') diff --git a/index.html b/index.html index 6959334..ce885ab 100644 --- a/index.html +++ b/index.html @@ -43,6 +43,7 @@ function onLoad() { showOSD(); } + function onUnload() { try { mediaPlayer.close(); @@ -83,7 +84,7 @@ function play(uri) { if (mediaPlayer.getState() != mediaPlayer.STATE_IDLE) { mediaPlayer.close(); } - uri=ServerAdres+uri; + uri = ServerAdres + uri; mediaPlayer.open(uri); mediaPlayer.play(1000); if(isFullscreen) { @@ -345,11 +346,11 @@ function onKeyDown(event) { case "Scroll": if(isFullscreen) { NowNext = 0; - showChannelList(); videoplane.style.width = "320px"; videoplane.style.height = "240px"; videoplane.style.left = "380px"; videoplane.style.top = "300px"; + showChannelList(); isFullscreen = 0; if(!SwitchGuide) { preChan = currChan; @@ -1111,8 +1112,6 @@ function InitMenu() { mainmenu.innerHTML = "

SETTINGS

Frontdisplay Clock : " + showClock + "

Prio audio track : " + (toi.informationService.getObject("cfg.media.audio.languagepriority")) + "

Switch timer : " + Boolean(switchtimerID) + "

Preview guide : " + SwitchGuide + "

"; } - - // End of Menu section -- cgit v1.2.3