main
上传用户:kjfoods
上传日期:2020-07-06
资源大小:29949k
文件大小:6k
源码类别:

midi

开发平台:

Unix_Linux

  1. <?vlc --[[
  2. vim:syntax=html
  3. <!--  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
  4. <  main: VLC media player web interface - main VLC controler
  5. < - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
  6. <  Copyright (C) 2005-2006 the VideoLAN team
  7. <  $Id$
  8. <  Authors: Antoine Cellerier <dionoea -at- videolan -dot- org>
  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. <  This program is distributed in the hope that it will be useful,
  14. <  but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. <  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16. <  GNU General Public License for more details.
  17. <  You should have received a copy of the GNU General Public License
  18. <  along with this program; if not, write to the Free Software
  19. <  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
  20. < - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
  21. This dialog needs the following dialogs to be fully functional: input,
  22. sout and playlist .
  23. ]]?>
  24. <div id="main" class="dialog" >
  25.   <div class="title">
  26.     VLC media player
  27.     <button id="btn_toggle_text" onclick="toggle_btn_text();" title="Help" >
  28.       <img src="images/help.png" alt="Help" />
  29.       Help
  30.     </button>
  31.   </div>
  32.   <div class="controls">
  33.     <button id="btn_open" onclick="toggle_show('input');" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Open" >
  34.       <img src="images/eject.png" alt="Open" />
  35.       <span class="btn_text">Open</span>
  36.     </button>
  37.     &nbsp;
  38.     <button id="btn_stop" onclick="pl_stop();" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Stop" >
  39.       <img src="images/stop.png" alt="Stop" />
  40.       <span class="btn_text">Stop</span>
  41.     </button>
  42.     <!--<button id="btn_play" onclick="alert('FIXME');" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Play" >
  43.       <img src="images/play.png" alt="Play" />
  44.       <span class="btn_text">Play</span>
  45.     </button>-->
  46.     <button id="btn_pause" onclick="pl_pause();" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Pause" >
  47.       <img src="images/pause.png" alt="Pause" id="btn_pause_img" />
  48.       <span class="btn_text">Pause</span>
  49.     </button>
  50.     &nbsp;
  51.     <button id="btn_previous" onclick="pl_previous();" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Previous" >
  52.       <img src="images/prev.png" alt="Previous" />
  53.       <span class="btn_text">Previous</span>
  54.     </button>
  55.     <button id="btn_next" onclick="pl_next();" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Next" >
  56.       <img src="images/next.png" alt="Next" />
  57.       <span class="btn_text">Next</span>
  58.     </button>
  59.     &nbsp;
  60.     <button id="btn_sout" onclick="toggle_show('sout');" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Stream Output" >
  61.       <img src="images/sout.png" alt="Stream Output" />
  62.       <span class="btn_text">Stream Output</span>
  63.     </button>
  64.     <button id="btn_playlist" onclick="toggle_show('playlist');" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Playlist" >
  65.       <img src="images/playlist.png" alt="Playlist" />
  66.       <span class="btn_text">Playlist</span>
  67.     </button>
  68.     <button id="btn_info" onclick="toggle_show('info');" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Info" >
  69.       <img src="images/info.png" alt="Info" />
  70.       <span class="btn_text">Info</span>
  71.     </button>
  72.     &nbsp;
  73.     <button id="btn_fullscreen" onclick="fullscreen();" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Fullscreen" >
  74.       <img src="images/fullscreen.png" alt="Fullscreen" />
  75.       <span class="btn_text">Fullscreen</span>
  76.     </button>
  77.     &nbsp;
  78.     <button id="btn_snapshot" onclick="snapshot();" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Take video snapshot" >
  79.       <img src="images/snapshot.png" alt="Take video snapshot" />
  80.       <span class="btn_text">Take video snapshot</span>
  81.     </button>
  82.     &nbsp;
  83.     <button id="btn_volume_down" onclick="volume_down();" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Decrease Volume" >
  84.       <img src="images/volume_down.png" alt="Decrease Volume" />
  85.       <span class="btn_text">Decrease Volume</span>
  86.     </button>
  87.     <button id="btn_volume_up" onclick="volume_up();" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Increase Volume" >
  88.       <img src="images/volume_up.png" alt="Increase Volume" />
  89.       <span class="btn_text">Increase Volume</span>
  90.     </button>
  91.   </div>
  92.   <div id="status">
  93.     <span id="state">(?)</span>
  94.     -
  95.     Time : <span id="time">(?)</span>/<span id="length">(?)</span>
  96.     -
  97.     Volume : <span id="volume">(?)</span>
  98.     <br/>
  99.     <!-- progress bar -->
  100.     <img src="images/slider_left.png" alt="slider left" /><span id="progressbar" style="background-image: url( 'images/slider_bar.png' ); width: 408px; height:16px; position:absolute;" onclick="slider_seek( event, this );" onmousemove="slider_move( event, this );"><img src="images/slider_point.png" alt="slider point" style="position:relative; left:0px;" id="main_slider_point" onmousedown="slider_down( event, this );" onmouseup="slider_up( event, this.parentNode );" onmouseout="slider_up( event, this.parentNode );"/></span><img src="images/slider_right.png" alt="slider right" style="position:relative;left:408px;" />
  101.     <br/>
  102.     <span id="nowplaying">(?)</span>
  103.     <img id="albumart" alt="" src="/art" style="float: right" onclick="refresh_albumart(true);"/>
  104.   </div>
  105. </div>
  106. <div id="info" class="dialog" style="display: none;" >
  107.   <div class="title">
  108.     Stream and media info
  109.     <img class="close" src="images/white_cross_small.png" alt="Close" onclick="hide('info');"/>
  110.   </div>
  111.   <div id="infotree">
  112.   </div>
  113. </div>