add some EPG-related Information for currently playing service.
[enigma2-plugins.git] / webinterface / src / web-data / streaminterface.html
1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
3        "http://www.w3.org/TR/html4/loose.dtd">
4 <html>
5
6 <head>
7         <meta content="text/html; charset=UTF-8" http-equiv="content-type">
8         <title>Dreambox WebTV</title>
9         
10         <script type="text/javascript" src="/web-data/lib/prototype-1.6.0.3.js"></script>
11         <script type="text/javascript" src="/web-data/lib/scriptaculous.js"></script>
12         <script type="text/javascript" src="/web-data/lib/trimpath-template-1.0.38.js"></script>
13                 
14         <!-- our stuff //-->
15         <script type="text/javascript" src="/web-data/objects.js" ></script>
16         <script type="text/javascript" src="/web-data/config.js" ></script>
17         <script type="text/javascript" src="/web-data/tools.js" ></script>
18         <script type="text/javascript" src="/web-data/timer.js" ></script>
19         <script type="text/javascript" src="/web-data/vlcplayer.js" ></script>
20         
21         <link href="/web-data/tpl/default/streaminterface/style.css" type="text/css" rel="stylesheet">
22         <link rel="shortcut icon" type="/web-data/image/x-icon" href="/web-data/img/favicon.ico">
23
24         <!-- Live RSS Feeds //-->
25         <link rel="alternate" type="application/rss+xml" title="Movie List" href="/web/movielist.rss?tag" >
26
27
28         <script language="javascript" type="text/javascript">
29                 
30                 if (!window.$) {
31                         window.$ = function(id) { return document.getElementById(id); }
32                 }
33                 
34                 function getWinSize(win) 
35                 { 
36                         if(!win) win = window; 
37                         var s = {}; 
38                         if(typeof win.innerWidth != 'undefined') 
39                         { 
40                                 s.width = win.innerWidth; 
41                                 s.height = win.innerHeight; 
42                         } 
43                         else 
44                         { 
45                                  var obj = getBody(win); 
46                                  s.width = parseInt(obj.clientWidth); 
47                                  s.height = parseInt(obj.clientHeight); 
48                         } 
49                         return s; 
50                 } 
51
52                 function getBody(w) 
53                 { 
54                         return (w.document.compatMode && w.document.compatMode == "CSS1Compat") ? w.document.documentElement : w.document.body || null; 
55                 } 
56                 
57                 function setMaxHeight(element){
58                         /*
59                         try{                    
60                                 var slc = $(element);
61                                 size = getWinSize();
62                                 slc.style.maxHeight = size.height - 200+"px";
63                         } catch (e) {}
64                         */
65                         //onresize="setMaxHeight('contentMain')" 
66                 }
67
68         </script>
69 </head>
70 <body onload="document.getElementById('notification').style.display='none'">
71         <div id="container">
72                 <div id="banner">
73                         <span id="notification"><div></div></span>
74                         <div id="bannerLeft">
75                                 <div id="bannerText" style="font-size: 24px;">
76                                         <img src="/web-data/tpl/default/streaminterface/img/dreamboxwebtv.png" alt="Dreambox WebTV">
77                                 </div>
78                                 <div id="current">
79                                 </div>
80                         </div>                  
81                         <div id="bannerRight">
82                                 <table id="volumeTable">
83                                         <tr>
84                                                 <td>Volume: </td>
85                                                 <td id="vlcVolume"></td>
86                                         </tr>
87                                 </table>                                
88                         </div>
89                 </div>
90 <!--            <div id="current">-->
91 <!--                    <div id="currentContent">-->
92 <!--                            <ul id="mainMenu">-->
93 <!--                                    <li><a href="#" onClick="switchStreamMode('TV')">TeleVision</a></li>-->
94 <!--                                    <li><a href="#" onClick="switchStreamMode('Radio')">Radio</a></li>-->
95 <!--                            </ul>-->
96 <!--                    </div>-->
97 <!--            </div>-->
98                 <div id="content">
99                         <div id="contentMain">
100                                 <center>
101                                         <div id="vlcPlayer">
102                                                 <embed 
103                                                         type="application/x-vlc-plugin" 
104                                                         pluginspage="http://www.videolan.org" 
105                                                         version="VideoLAN.VLCPlugin.2"
106                                                     width="768"
107                                                     height="576"
108                                                     id="vlc">
109                                                 </embed>
110                                         </div>
111                                         <div id="vlcButtons">
112                                                 <button onClick="vlcPrev()" title="Previous Service">
113                                                         <img src="/web-data/tpl/default/streaminterface/img/control_start_blue.png" alt="&lt;&lt;" />
114                                                 </button>
115                                                 <button onClick="vlcPlay()" title="Play">
116                                                         <img src="/web-data/tpl/default/streaminterface/img/control_play_blue.png" alt="&gt;" />
117                                                 </button>
118                                                 <button onClick="vlcNext()" title="Next Service">
119                                                         <img src="/web-data/tpl/default/streaminterface/img/control_end_blue.png" alt="&lt;&lt;" />
120                                                 </button>
121 <!--                                            <button onClick="vlcPause()" title="Pause">-->
122 <!--                                                    <img src="/web-data/tpl/default/streaminterface/img/control_pause_blue.png" alt="||" />-->
123 <!--                                            </button>-->
124                                                 <button onClick="vlcStop()" title="Stop">
125                                                         <img src="/web-data/tpl/default/streaminterface/img/control_stop_blue.png" alt="Stop" />
126                                                 </button>
127                                                 <button onClick="vlcFullscreen()" title="Fullscren">
128                                                         <img src="/web-data/tpl/default/streaminterface/img/monitor.png" alt="Fullscreen" />
129                                                 </button>
130 <!--                                            <button onClick="teletext()" title="Teletext">-->
131 <!--                                                    <img src="/web-data/tpl/default/streaminterface/img/text_align_center.png" alt="Teletext" />-->
132 <!--                                            </button>-->
133                                                 <button onClick="vlcVolumeUp()"  title="Volume Up">
134                                                         <img src="/web-data/tpl/default/streaminterface/img/sound_add.png" alt="Vol+" />
135                                                 </button>
136                                                 <button onClick="vlcToogleMute()"  title="Mute Audio">
137                                                         <img src="/web-data/tpl/default/streaminterface/img/sound_mute.png" alt="Mute" />                                                       
138                                                 </button>
139                                                 <button onClick="vlcVolumeDown()" title="Volume Down">
140                                                         <img src="/web-data/tpl/default/streaminterface/img/sound_delete.png" alt="Vol-" />
141                                                 </button>
142                                                 <br>
143                                                 <span id="bouquetList"></span>
144                                                 <span id="channelList"></span>
145                                                 
146                                         </div>
147                                 </center>
148                         </div>                          
149                 </div>  
150         </div>
151         <script language="javascript" type="text/javascript">                   
152                 initWebTv();
153         </script>
154
155 </body>
156 </html>