"Fossies" - the Fresh Open Source Software Archive

Member "vlc-3.0.8/lua/http/mobile.html" (14 Aug 2019, 5248 Bytes) of package /windows/misc/vlc-3.0.8-win32.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <!--  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
    2 <  mobile.html: VLC media player web interface - VLM
    3 < - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
    4 <  Copyright (C) 2005-2014 VLC authors and VideoLAN
    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., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, 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="initial-scale=1.0" />
   28         <meta name="viewport" content="width=device-width" />
   29         <meta name="apple-mobile-web-app-status-bar-style" content="default" />
   30         <link href="favicon.ico" type="image/x-icon" rel="shortcut icon" />
   31         <script type="text/javascript" src="js/common.js"></script>
   32         <link type="text/css" href="css/ui-lightness/jquery-ui-1.8.13.custom.css" rel="stylesheet" />
   33         <link type="text/css" href="css/mobile.css" rel="stylesheet" />
   34         <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
   35         <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/jquery-ui.min.js"></script>
   36         <script type="text/javascript" src="js/jquery.jstree.js"></script>
   37         <script type="text/javascript" src="http://releases.flowplayer.org/js/flowplayer-3.2.6.min.js"></script>
   38         <script type="text/javascript" src="js/ui.js"></script>
   39         <script type="text/javascript" src="js/controllers.js"></script>
   40         <script type="text/javascript">
   41             var pollStatus  =   true;
   42             $(function(){
   43                 $('#buttonPrev').click(function(){
   44                     sendCommand({'command':'pl_previous'});
   45                     return false;
   46                 });
   47                 $('#buttonNext').click(function(){
   48                     sendCommand({'command':'pl_next'});
   49                     return false;
   50                 });
   51                 $('#buttonOpen').click(function(){
   52                     window.location='mobile_browse.html';
   53                 });
   54                 $('#buttonEQ').click(function(){
   55                     window.location='mobile_equalizer.html';
   56                 });
   57                 $('#buttonSout').click(function(){
   58                     var file            =     decodeURIComponent($('#buttonPlay').attr('mrl'));
   59                     if(file){
   60                         var defaultStream   =   'new Current broadcast enabled input "'+file+'" output #transcode{vcodec=FLV1,vb=4096,fps=25,scale=1,acodec=mp3,ab=512,samplerate=44100,channels=2}:std{access='+$('#stream_protocol').val()+',mux=avformat{{mux=flv}},dst=0.0.0.0:'+$('#stream_port').val()+'/'+$('#stream_file').val()+'}';
   61                         sendVLMCmd('del Current;'+defaultStream+';control Current play','window.location="mobile_view.html"');
   62                     }
   63                     return false;
   64                 });
   65                 $('#buttonRewd').click(function(){
   66                     sendCommand({'command': 'seek', 'val': '-30S'});
   67                     return false;
   68                 });
   69                 $('#buttonFwrd').click(function(){
   70                     sendCommand({'command': 'seek', 'val': '+30S'});
   71                     return false;
   72                 });
   73             })
   74         </script>
   75     </head>
   76     <body>
   77     <div id="content" class="centered">
   78         <div id="art">
   79             <img id="albumArt" src="/art" />
   80         </div>
   81         <div style="width:100%"><div id="mediaTitle" class="dynamic centered"></div></div>
   82         <div id="play_controls">
   83             <div id="buttons">
   84                 <div id="buttonPrev" class="button48  ui-corner-all" title="Previous">
   85                 </div><div id="buttonRewd" class="button48  ui-corner-all" title="Rewind">
   86                 </div><div id="buttonPlay" class="button48  ui-corner-all paused" title="Play">
   87                 </div><div id="buttonStop" class="button48  ui-corner-all" title="Stop">
   88                 </div><div id="buttonFwrd" class="button48  ui-corner-all" title="Forward">
   89                 </div><div id="buttonNext" class="button48  ui-corner-all" title="Next"></div>
   90             </div>
   91             <div id="seekSlider" title="Seek Time" style="font-size:15px;"></div>
   92             <div id="currentTime" class="dynamic">00:00:00</div>
   93             <div id="totalTime" class="dynamic">00:00:00</div>
   94         </div>
   95         <div id="controls">
   96             <div id="buttons">
   97                 <div id="buttonOpen" class="button48  ui-corner-all" title="Open Media">
   98                 </div><div id="buttonFull" class="button48  ui-corner-all" title="Full Screen">
   99                 </div><div id="buttonEQ" class="button48 ui-corner-all" title="Equalizer">
  100                 </div><div id="buttonSout" class="button48  ui-corner-all" title="Easy Stream"></div>
  101             </div>
  102             <div id="volumeSlider" title="Volume" style="font-size:15px;">
  103                 <img src="images/speaker-32.png" class="ui-slider-handle" alt="volume"/>
  104             </div>
  105         </div>
  106         <?vlc
  107 
  108     dialogs("stream_config_window.html");
  109     ?>
  110     </div>
  111     </body>
  112 </html>