]> git.sesse.net Git - vlc/blob - share/lua/http/mobile_equalizer.html
luahttp: fix javascript declaration
[vlc] / share / lua / http / mobile_equalizer.html
1 <!--  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
2 <  mobile_equalizer.html: VLC media player web interface - VLM
3 < - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
4 <  Copyright (C) 2005-2006 the VideoLAN team
5 <  $Id$
6 <
7 <  Authors: Brandon Brooks <bwbrooks -at- archmageinc -dot- com>
8 <
9 <  This program is free software; you can redistribute it and/or modify
10 <  it under the terms of the GNU General Public License as published by
11 <  the Free Software Foundation; either version 2 of the License, or
12 <  (at your option) any later version.
13 <
14 <  This program is distributed in the hope that it will be useful,
15 <  but WITHOUT ANY WARRANTY; without even the implied warranty of
16 <  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 <  GNU General Public License for more details.
18 <
19 <  You should have received a copy of the GNU General Public License
20 <  along with this program; if not, write to the Free Software
21 <  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
22 < - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
23 <html>
24         <head>
25                 <title>VLC media player - Web Interface</title>
26                 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
27                 <meta name="viewport" content="width=device-width; user-scalable=no" />
28                 <link href="favicon.ico" type="image/x-icon" rel="shortcut icon" />
29                 <script type="text/javascript" src="js/common.js"></script>
30                 <link type="text/css" href="css/ui-lightness/jquery-ui-1.8.13.custom.css" rel="stylesheet" />
31                 <link type="text/css" href="css/main.css" rel="stylesheet" />
32                 <script type="text/javascript" src="js/jquery-1.5.1.min.js"></script>
33                 <script type="text/javascript" src="js/jquery-ui-1.8.13.custom.min.js"></script>
34                 <script type="text/javascript" src="js/jquery.jstree.js"></script>
35                 <script type="text/javascript" src="http://static.flowplayer.org/js/flowplayer-3.2.6.min.js"></script>
36                 <script type="text/javascript" src="js/controlers.js"></script>
37                 <script type="text/javascript">
38                         var pollStatus  =       false;
39                         $(function(){
40                                 $('#preamp').slider({
41                                         min: -20,
42                                         max: 20,
43                                         step: 0.1,
44                                         range: "min",
45                                         animate: true,
46                                         stop: function(event,ui){
47                                                 $('#preamp_txt').empty().append(ui.value+'dB');
48                                                 sendEQCmd({
49                                                         command:'preamp',
50                                                         val: ui.value
51                                                 })
52                                         },
53                                         slide: function(event,ui){
54                                                 $('#preamp_txt').empty().append(ui.value+'dB');
55                                         }
56                                 });
57                         });
58                 </script>
59         </head>
60         <body>
61                 <div id="window_equalizer" title="Graphical Equalizer">
62                         <div style="margin: 5px 5px 5px 5px;">
63                                 <div>Preamp: <span id="preamp_txt">0dB</span></div>
64                         </div>
65                         <div style="margin: 5px 5px 10px 5px;">
66                                 <div id="preamp" style="font-size: 22px;"></div>
67                         </div>
68                 </div>
69         </body>
70 </html>