]> git.sesse.net Git - vlc/blob - share/lua/http/mobile_view.html
web intf: mobile: delay loading of flowplayer
[vlc] / share / lua / http / mobile_view.html
1 <!--  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
2 <  mobile_view.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="js/controlers.js"></script>
36                 <script type="text/javascript" src="js/ui.js"></script>
37                 <script type="text/javascript">
38                         var pollStatus  =       false;
39                         /* delay script loading so we won't block if we have no net access */
40                         $.getScript('http://static.flowplayer.org/js/flowplayer-3.2.6.min.js', function(data, textStatus){
41                                 $('#player').empty();
42                                 $('#player').attr('href',$('#stream_protocol').val()+'://'+$('#stream_host').val()+':'+$('#stream_port').val()+'/'+$('#stream_file').val());
43                                 flowplayer("player", "http://releases.flowplayer.org/swf/flowplayer-3.2.7.swf");
44                                 /* .getScript only handles success() */
45                         });
46                 </script>
47         </head>
48         <body>
49                 <div id="player" style="width:100%;height:100%">
50
51                 </div>
52                 <?vlc
53                         dialogs("stream_config_window.html");
54                 ?>
55         </body>
56 </html>