home *** CD-ROM | disk | FTP | other *** search
/ mail.altrad.com / 2015.02.mail.altrad.com.tar / mail.altrad.com / TEST / vlc-2-0-5-win32.exe / lua / http / dialogs / old / main < prev    next >
Text File  |  2012-12-12  |  9KB  |  159 lines

  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.  
  22. This dialog needs the following dialogs to be fully functional: input,
  23. sout and playlist .
  24. ]]?>
  25.  
  26. <div id="main" class="dialog" >
  27.   <div class="title">
  28.     VLC media player
  29.     <button id="btn_toggle_text" onclick="toggle_btn_text();" title="Help" >
  30.       <img src="old/images/help.png" alt="Help" />
  31.       Help
  32.     </button>
  33.   </div>
  34.   <div class="controls">
  35.     <button id="btn_open" onclick="toggle_show('input');" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Open" >
  36.       <img src="old/images/eject.png" alt="Open" />
  37.       <span class="btn_text">Open</span>
  38.     </button>
  39.      
  40.     <button id="btn_stop" onclick="pl_stop();" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Stop" >
  41.       <img src="old/images/stop.png" alt="Stop" />
  42.       <span class="btn_text">Stop</span>
  43.     </button>
  44.     <!--<button id="btn_play" onclick="alert('FIXME');" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Play" >
  45.       <img src="old/images/play.png" alt="Play" />
  46.       <span class="btn_text">Play</span>
  47.     </button>-->
  48.     <button id="btn_pause" onclick="pl_pause();" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Pause" >
  49.       <img src="old/images/pause.png" alt="Pause" id="btn_pause_img" />
  50.       <span class="btn_text">Pause</span>
  51.     </button>
  52.      
  53.     <button id="btn_previous" onclick="pl_previous();" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Previous" >
  54.       <img src="old/images/prev.png" alt="Previous" />
  55.       <span class="btn_text">Previous</span>
  56.     </button>
  57.     <button id="btn_next" onclick="pl_next();" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Next" >
  58.       <img src="old/images/next.png" alt="Next" />
  59.       <span class="btn_text">Next</span>
  60.     </button>
  61.      
  62.     <button id="btn_sout" onclick="toggle_show('sout');" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Stream Output" >
  63.       <img src="old/images/sout.png" alt="Stream Output" />
  64.       <span class="btn_text">Stream Output</span>
  65.     </button>
  66.     <button id="btn_playlist" onclick="toggle_show('playlist');" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Playlist" >
  67.       <img src="old/images/playlist.png" alt="Playlist" />
  68.       <span class="btn_text">Playlist</span>
  69.     </button>
  70.     <button id="btn_info" onclick="toggle_show('info');" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Info" >
  71.       <img src="old/images/info.png" alt="Info" />
  72.       <span class="btn_text">Info</span>
  73.     </button>
  74.      
  75.     <button id="btn_fullscreen" onclick="fullscreen();" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Fullscreen" >
  76.       <img src="old/images/fullscreen.png" alt="Fullscreen" />
  77.       <span class="btn_text">Fullscreen</span>
  78.     </button>
  79.      
  80.     <button id="btn_snapshot" onclick="snapshot();" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Take video snapshot" >
  81.       <img src="old/images/snapshot.png" alt="Take video snapshot" />
  82.       <span class="btn_text">Take video snapshot</span>
  83.     </button>
  84.      
  85.     <button id="btn_volume_down" onclick="volume_down();" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Decrease Volume" >
  86.       <img src="old/images/volume_down.png" alt="Decrease Volume" />
  87.       <span class="btn_text">Decrease Volume</span>
  88.     </button>
  89.     <button id="btn_volume_up" onclick="volume_up();" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Increase Volume" >
  90.       <img src="old/images/volume_up.png" alt="Increase Volume" />
  91.       <span class="btn_text">Increase Volume</span>
  92.     </button>
  93.     <button id="btn_volume_mute" onclick="volume_mute();" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Mute Volume" >
  94.       <img src="old/images/speaker_mute.png" alt="Mute Volume" />
  95.       <span class="btn_text">Mute Volume</span>
  96.     </button>
  97.     <br />
  98.     Audio Delay:
  99.     <button id="btn_audiodelay_down" onclick="audiodelay_down();" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Decrease Audio Delay by 50ms" >
  100.       <img src="old/images/minus.png" alt="Decrease Audio Delay" />
  101.       <span class="btn_text">Decrease Audio Delay</span>
  102.     </button>
  103.     <button id="btn_audiodelay_up" onclick="audiodelay_up();" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Increase Audio Delay by 50ms" >
  104.       <img src="old/images/plus.png" alt="Increase Audio Delay" />
  105.       <span class="btn_text">Increase Audio Delay</span>
  106.     </button>
  107.     <span id="a_del">(?)</span> ms
  108.  <br />
  109.     Playback Speed:
  110.     <button id="btn_playrate_down" onclick="playrate_down();" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Decrease playback rate by 0.05x" >
  111.       <img src="old/images/minus.png" alt="Decrease Playback Rate" />
  112.       <span class="btn_text">Decrease Playback Rate</span>
  113.     </button>
  114.     <button id="btn_playrate_up" onclick="playrate_up();" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Increase playback rate by 0.05x" >
  115.       <img src="old/images/plus.png" alt="Increase Playback Rate" />
  116.       <span class="btn_text">Increase Playback Rate</span>
  117.     </button>
  118.     <span id="p_rate">(?)</span>x
  119.   <br/>
  120.   Advance of subtitles over video:
  121.     <button id="btn_subdel_down" onclick="subdel_down();" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Decrease subtitle delay by 50ms" >
  122.       <img src="old/images/minus.png" alt="Decrease Subtitle delay" />
  123.       <span class="btn_text">Decrease Subtitle delay</span>
  124.     </button>
  125.     <button id="btn_subdel_up" onclick="subdel_up();" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Increase subtitle delay by 50ms" >
  126.       <img src="old/images/plus.png" alt="Increase Subtitle delay" />
  127.       <span class="btn_text">Increase Subtitle delay</span>
  128.     </button>
  129.     <span id="s_del">(?)</span>ms
  130.  
  131.   </div>
  132.   <div id="status">
  133.     <span id="state">(?)</span>
  134.     -
  135.     Time : <span id="time">(?)</span>/<span id="length">(?)</span>
  136.     -
  137.     Volume : <span id="volume">(?)</span>
  138.     <br/>
  139.     <!-- progress bar -->
  140.     <img src="old/images/slider_left.png" alt="slider left" /><span id="progressbar" style="background-image: url( 'old/images/slider_bar.png' ); width: 408px; height:16px; position:absolute;" onclick="slider_seek( event, this );" onmousemove="slider_move( event, this );"><img src="old/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="old/images/slider_right.png" alt="slider right" style="position:relative;left:408px;" />
  141.     <br/>
  142.     <span id="nowplaying">(?)</span>
  143.     <img id="albumart" alt="" src="/art" style="float: right" onclick="refresh_albumart(true);"/>
  144.   </div>
  145. </div>
  146.  
  147. <div id="info" class="dialog" style="display: none;" >
  148.   <div class="title">
  149.     Stream and media info
  150.     <img class="close" src="old/images/white_cross_small.png" alt="Close" onclick="hide('info');"/>
  151.   </div>
  152.   <div id="infotree">
  153.   </div>
  154. </div>
  155.