home *** CD-ROM | disk | FTP | other *** search
/ Minami 85 / MINAMI85.iso / Extra / vlc-0.8.6b-win32.exe / http / dialogs / input < prev    next >
Text File  |  2007-04-24  |  10KB  |  225 lines

  1. <vlc id="if" param1="0" />
  2. vim:syntax=html
  3. <!--  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
  4. <  input: VLC media player web interface - input selection dialog
  5. < - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
  6. <  Copyright (C) 2005-2006 the VideoLAN team
  7. <  $Id: input 16431 2006-08-30 14:30:06Z hartman $
  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: browse
  23. <vlc id="end" />
  24.  
  25. <div id="input" class="dialog" style="display: none">
  26.   <div class="title">
  27.     Input
  28.     <img class="close" src="images/white_cross_small.png" alt="Close" onclick="hide('input');"/>
  29.   </div>
  30.   <div class="controls">
  31.     <label for="input_mrl">Input (MRL)</label>
  32.     <vlc id="if" param1="page value 'vlm' strcmp 0 =" />
  33.       <input type="text" name="input_mrl" id="input_mrl" size="60" onkeypress="if( event.keyCode == 13 ) vlm_input_change();"/>
  34.       <input type="button" value="Ok" onclick="vlm_input_change();" />
  35.       <input type="button" value="Cancel" onclick="hide('input');" />
  36.       <input type="hidden" id="input_dest" value="" />
  37.     <vlc id="else" />
  38.       <input type="text" name="input_mrl" id="input_mrl" size="60" onkeypress="if( event.keyCode == 13 ) in_play();"/>
  39.       <input type="button" value="Play" onclick="in_play();" />
  40.       <input type="button" value="Enqueue" onclick="in_enqueue();" />
  41.     <vlc id="end" />
  42.     <br/>
  43.     <!--<button id="btn_inhide" onclick="hide_input();">
  44.       Hide
  45.     </button>-->
  46.     <button id="btn_file" onclick="hide_input();show('input_file');update_input_file();">
  47.       File
  48.     </button>
  49.     <button id="btn_disc" onclick="hide_input();show('input_disc');update_input_disc();">
  50.       Disc
  51.     </button>
  52.     <button id="btn_network" onclick="hide_input();show('input_network');update_input_net();">
  53.       Network
  54.     </button>
  55.     <button id="btn_fake" onclick="hide_input();show('input_fake');update_input_fake();">
  56.       Fixed image
  57.     </button>
  58.   </div>
  59.   <div id="input_helper" class="helper" >
  60.     <div id="input_file" style="display: block">
  61.       Open File
  62.       <hr/>
  63.       <label for="input_file_filename">File name</label>
  64.       <input type="text" id="input_file_filename" size="60" onchange="update_input_file();" onfocus="update_input_file();"/>
  65.       <input type="button" id="input_file_browse" value="Browse" onclick="browse( 'input_file_filename' );" />
  66.       <!-- <hr/>
  67.       <input type="checkbox" id="input_sub_options" />
  68.       <label for="input_sub_options">Subtitle options *TODO/FIXME/FIXHTTPD*</label>
  69.       <br/>
  70.       <label for="input_sub_file">Subtitles file</label>
  71.       <input type="text" id="input_sub_file" size="60" />
  72.       <br/>
  73.       <label for="input_sub_enc">Subtitles encoding</label>
  74.       <select id="input_sub_enc">
  75.         <option></option>
  76.       </select>
  77.       <br/>
  78.       <label for="input_sub_size">Font size</label>
  79.       <select id="input_sub_size">
  80.         <option></option>
  81.       </select>
  82.       <label for="input_sub_justification">Justification</label>
  83.       <select id="input_sub_justification">
  84.         <option></option>
  85.       </select>
  86.       <br/>
  87.       <label for="input_sub_fps">Frames per second</label>
  88.       <input type="text" id="input_sub_fps" />
  89.       <label for="input_sub_delay">Delay</label>
  90.       <input type="text" id="input_sub_delay" />-->
  91.     </div>
  92.     <div id="input_disc" style="display: none">
  93.       Open Disc
  94.       <hr/>
  95.       Disc type :
  96.       <input type="radio" name="input_disc_type" id="input_disc_dvdmenu" value="dvd" onchange="update_input_disc();" />
  97.       <label for="input_disc_dvdmenu">DVD (menus)</label>
  98.       <input type="radio" name="input_disc_type" id="input_disc_dvd" value="dvdsimple" onchange="update_input_disc();" />
  99.       <label for="input_disc_dvd">DVD</label>
  100.       <input type="radio" name="input_disc_type" id="input_disc_vcd" value="vcd" onchange="update_input_disc();" />
  101.       <label for="input_disc_vcd">VCD</label>
  102.       <input type="radio" name="input_disc_type" id="input_disc_cdda" value="cdda" onchange="update_input_disc();" />
  103.       <label for="input_disc_cdda">Audio CD</label>
  104.       <hr/>
  105.       <table>
  106.         <tr>
  107.           <td>
  108.             <label for="input_disc_dev">Device name</label>
  109.           </td>
  110.           <td>
  111.             <input type="text" id="input_disc_dev" onchange="update_input_disc();" />
  112.           </td>
  113.         </tr>
  114.         <tr>
  115.           <td>
  116.             <label for="input_disc_title">Title</label>
  117.           </td>
  118.           <td>
  119.             <input type="text" id="input_disc_title" onchange="update_input_disc();" />
  120.           </td>
  121.         </tr>
  122.         <tr>
  123.           <td>
  124.             <label for="input_disc_chapter">Chapter</label>
  125.           </td>
  126.           <td>
  127.             <input type="text" id="input_disc_chapter" onchange="update_input_disc();" />
  128.           </td>
  129.         </tr>
  130.         <tr>
  131.           <td>
  132.             <label for="input_disc_subtrack">Subtitles track</label>
  133.           </td>
  134.           <td>
  135.              <input type="text" id="input_disc_subtrack" onchange="update_input_disc();" />
  136.           </td>
  137.         </tr>
  138.         <tr>
  139.           <td>
  140.             <label for="input_disc_audiotrack">Audio track</label>
  141.           </td>
  142.           <td>
  143.             <input type="text" id="input_disc_audiotrack" onchange="update_input_disc();" />
  144.           </td>
  145.         </tr>
  146.       </table>
  147.     </div>
  148.     <div id="input_network" style="display: none">
  149.       Open Network
  150.       <hr/>
  151.       <table>
  152.         <tr>
  153.           <td>
  154.             <input type="radio" name="input_net_type" id="input_net_udp" value="udp" onchange="update_input_net();" />
  155.             <label for="input_net_udp">UDP/RTP</label>
  156.           </td>
  157.           <td>
  158.             <label for="input_net_udp_port">Port</label>
  159.             <input type="text" id="input_net_udp_port" size="6" onchange="update_input_net();" />
  160.             <input type="checkbox" id="input_net_udp_forceipv6" onchange="update_input_net();" />
  161.             <label for="input_net_udp_forceipv6">Force IPv6</label>
  162.           </td>
  163.         </tr>
  164.         <tr>
  165.           <td>
  166.             <input type="radio" name="input_net_type" id="input_net_udpmcast" value="udpmcast" onchange="update_input_net();" />
  167.             <label for="input_net_udpmcast">UDP/RTP Multicast</label>
  168.           </td>
  169.           <td>
  170.             <label for="input_net_udpmcast_address">Address</label>
  171.             <input type="text" id="input_net_udpmcast_address" onchange="update_input_net();" />
  172.             <label for="input_net_udpmcast_port">Port</label>
  173.             <input type="text" id="input_net_udpmcast_port" size="6" onchange="update_input_net();" />
  174.           </td>
  175.         </tr>
  176.         <tr>
  177.           <td>
  178.             <input type="radio" name="input_net_type" id="input_net_http" value="http" onchange="update_input_net();" />
  179.             <label for="input_net_http">HTTP/HTTPS/FTP/MMS</label>
  180.           </td>
  181.           <td>
  182.             <label for="input_net_http_url">URL</label>
  183.             <input type="text" id="input_net_http_url" onchange="update_input_net();" />
  184.           </td>
  185.         </tr>
  186.         <tr>
  187.           <td>
  188.             <input type="radio" name="input_net_type" id="input_net_rtsp" value="rtsp" onchange="update_input_net();" />
  189.             <label for="input_net_rtsp">RTSP</label>
  190.           </td>
  191.           <td>
  192.             <label for="input_net_rtsp_url">URL</label>
  193.             <input type="text" id="input_net_rtsp_url" value="rtsp://" onchange="update_input_net();" />
  194.           </td>
  195.         </tr>
  196.         <tr>
  197.           <td>
  198.             <input type="checkbox" id="input_net_timeshift" onchange="update_input_net();" />
  199.             <label for="input_net_timeshift">Allow timeshifting</label>
  200.           </td>
  201.           <td></td>
  202.         </tr>
  203.       </table>
  204.     </div>
  205.     <div id="input_fake" style="display: none">
  206.       Fixed image stream (fake)
  207.       <hr/>
  208.       <label for="input_fake_filename">Image file name</label>
  209.       <input type="text" id="input_fake_filename" size="60" onchange="update_input_fake();" onfocus="update_input_fake();"/>
  210.       <input type="button" id="input_fake_browse" value="Browse" onclick="browse( 'input_fake_filename' );" />
  211.       <hr/>
  212.       <label for="input_fake_width">Width</label>
  213.       <input type="text" id="input_fake_width" size="8" onchange="update_input_fake();" />
  214.       <label for="input_fake_height">Height</label>
  215.       <input type="text" id="input_fake_height" size="8" onchange="update_input_fake();" />
  216.       <label for="input_fake_ar">Aspect ratio</label>
  217.       <input type="text" id="input_fake_ar" size="8" onchange="update_input_fake();" />
  218.     </div>
  219.   </div>
  220. </div>
  221.