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