[WebIf] Add Deinterlace option to WebTv
[enigma2-plugins.git] / webinterface / src / web-data / tpl / default / streaminterface / index.html
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
3         "http://www.w3.org/TR/html4/loose.dtd">
4 <html>
5 <head>
6         <meta content="text/html; charset=UTF-8" http-equiv="content-type">
7         <title>Dreambox WebTV</title>
8
9         <script type="text/javascript" src="/web-data/lib/libs_minified.js"></script>
10
11         <!-- userprefs Object -->
12         <script type="text/javascript" src="/web-data/userprefs.js"></script>
13
14         <!-- our stuff //-->
15         <script type="text/javascript" src="/web-data/statics.js" ></script>
16         <script type="text/javascript" src="/web-data/helpers.js" ></script>
17         <script type="text/javascript" src="/web-data/provider.js" ></script>
18         <script type="text/javascript" src="/web-data/handler.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 </head>
24 <body>
25         <div id="container">
26                 <div id="banner">
27                         <span id="notification" style="display: none;"><div></div></span>
28                         <div id="bannerLeft">
29                                 <div id="bannerText" style="font-size: 24px;">
30                                         <img src="/web-data/img/dreamboxwebtv.png" alt="Dreambox WebTV">
31                                 </div>
32                                 <div id="current">
33                                 </div>
34                         </div>
35                         <div id="bannerRight">
36                                 <table id="volumeTable">
37                                         <tr>
38                                                 <td>Volume: </td>
39                                                 <td id="vlcVolume"></td>
40                                         </tr>
41                                 </table>
42                         </div>
43                 </div>
44 <!--            <div id="current">-->
45 <!--                    <div id="currentContent">-->
46 <!--                            <ul id="mainMenu">-->
47 <!--                                    <li><a href="#" onClick="switchStreamMode('TV')">TeleVision</a></li>-->
48 <!--                                    <li><a href="#" onClick="switchStreamMode('Radio')">Radio</a></li>-->
49 <!--                            </ul>-->
50 <!--                    </div>-->
51 <!--            </div>-->
52                 <div id="content">
53                         <div id="contentMain">
54                                 <center>
55                                         <div id="vlcPlayer">
56                                                 <embed
57                                                         type="application/x-vlc-plugin"
58                                                         pluginspage="http://www.videolan.org"
59                                                         version="VideoLAN.VLCPlugin.2"
60                                                         width="768"
61                                                         height="576"
62                                                         id="vlc">
63                                                 </embed>
64                                         </div>
65                                         <div id="vlcButtons">
66                                                 <button class="vlcPrev" title="Previous Service">
67                                                         <img src="/web-data/img/control_start_blue.png" alt="&lt;&lt;" />
68                                                 </button>
69                                                 <button class="vlcPlay" title="Play">
70                                                         <img src="/web-data/img/control_play_blue.png" alt="&gt;" />
71                                                 </button>
72                                                 <button class="vlcNext" title="Next Service">
73                                                         <img src="/web-data/img/control_end_blue.png" alt="&lt;&lt;" />
74                                                 </button>
75                                                 <button class="vlcStop" title="Stop">
76                                                         <img src="/web-data/img/control_stop_blue.png" alt="Stop" />
77                                                 </button>
78                                                 <button class="vlcFullscreen" title="Fullscren">
79                                                         <img src="/web-data/img/monitor.png" alt="Fullscreen" />
80                                                 </button>
81                                                 <button class="vlcVolumeDown" title="Volume Down">
82                                                         <img src="/web-data/img/sound_delete.png" alt="Vol-" />
83                                                 </button>
84                                                 <button class="vlcToggleMute"  title="Mute Audio">
85                                                         <img src="/web-data/img/sound_mute.png" alt="Mute" />
86                                                 </button>
87                                                 <button class="vlcVolumeUp"  title="Volume Up">
88                                                         <img src="/web-data/img/sound_add.png" alt="Vol+" />
89                                                 </button>
90                                                 <input type="checkbox" id="vlcZap" title="Also zap on TV (for Subservices)">Zap</input>
91                                                 &nbsp; Deinterlace <select id="deinterlace">
92                                                         <option value="off">Off</option>
93                                                         <option value="blend">Blend</option>
94                                                         <option value="bob">Bob</option>
95                                                         <option value="discard">Discard</option>
96                                                         <option value="linear">Linear</option>
97                                                         <option value="mean">Mean</option>
98                                                         <option value="x">X</option>
99                                                         <option value="yadif">Yadif</option>
100                                                         <option value="yadif2x">Yadif2x</option>
101                                                 </select>
102                                                 <br>
103                                                 <span id="bouquetList"></span>
104                                                 <span id="serviceList"></span>
105                                         </div>
106                                 </center>
107                         </div>
108                 </div>
109         </div>
110
111         <script language="JavaScript" type="Text/Javascript">
112                 function addtoFavorites(){
113                         var url = location.href.replace("#", "");
114                         var title = "Dreambox WebTV";
115
116                         if (window.sidebar){
117                                 // firefox
118                                 window.sidebar.addPanel(title, url, "");
119                         } else if(window.opera && window.print){
120                                 // opera
121                                 var elem = document.createElement('a');
122                                 elem.setAttribute('href', url);
123                                 elem.setAttribute('title', title);
124                                 elem.setAttribute('rel', 'sidebar');
125                                 elem.click();
126                         } else if(document.all){
127                                 // ie
128                                 window.external.AddFavorite(url, title);
129                         }
130                 }
131                 core.run();
132         </script>
133         <div>
134                 <a style="color: #FFF;font-size: 12px; font-weight: normal;" href="#" onClick="addtoFavorites(); return false;">Add to Favorites</a>
135         </div>
136 </body>
137 </html>