home *** CD-ROM | disk | FTP | other *** search
/ Animedia 46 / AnimediaCD46.iso / Extra / vlc-0.8.5-win32.exe / http / dialogs / vlm < prev   
Text File  |  2006-05-06  |  10KB  |  185 lines

  1. <vlc id="if" param1="0" />
  2. vim:syntax=html
  3. <!--  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
  4. <  vlm: VLC media player web interface - VLM controler
  5. < - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
  6. <  Copyright (C) 2005-2006 the VideoLAN team
  7. <  $Id: vlm 14904 2006-03-24 13:11:17Z dionoea $
  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 vlmelements .
  24. <vlc id="end" />
  25.  
  26. <div id="vlm" class="dialog" >
  27.   <div class="title">
  28.     VLC media player - VLM interface
  29.     <!--
  30.     <button id="btn_toggle_text" onclick="toggle_btn_text();">
  31.       <img src="images/help.png" alt="Help" />
  32.       Help
  33.     </button>
  34.     -->
  35.   </div>
  36.   <div class="controls">
  37.     <label for="vlm_command">VLM command:</label>
  38.     <input type="text" id="vlm_command" size="60" onkeypress="if( event.keyCode == 13 ) vlm_send();" />
  39.     <input type="button" value="Send" onclick="vlm_send();" />
  40.     <br />
  41.     <span id="vlm_error"></span>
  42.     <br />
  43.     <span id="vlm_helper_controls">
  44.       <button id="btn_broadcast" onclick="hide_vlm_add();show('vlm_add_broadcast');update_vlm_add_broadcast();" onmouseover="button_over(this);" onmouseout="button_out(this);">
  45.         Broadcast
  46.       </button>
  47.       <button id="btn_vod" onclick="hide_vlm_add();show('vlm_add_vod');update_vlm_add_vod();" onmouseover="button_over(this);" onmouseout="button_out(this);">
  48.         Video on Demand
  49.       </button>
  50.       <button id="btn_schedule" onclick="hide_vlm_add();show('vlm_add_schedule');update_vlm_add_schedule();" onmouseover="button_over(this);" onmouseout="button_out(this);">
  51.         Schedule
  52.       </button>
  53.       <button id="btn_other" onclick="hide_vlm_add();show('vlm_add_other');update_vlm_add_other();" onmouseover="button_over(this);" onmouseout="button_out(this);">
  54.         Other
  55.       </button>
  56.     </span>
  57.     <button id="btn_vlm_helper_toggle" onclick="toggle_show_vlm_helper();" onmouseover="button_over(this);" onmouseout="button_out(this);">
  58.       Hide VLM helper
  59.     </button>
  60.   </div>
  61.   <div id="vlm_helper" class="helper" >
  62.     <div id="vlm_add_broadcast" style="display: block">
  63.       New broadcast element
  64.       <hr />
  65.       <label for="vlm_broadcast_name">Name</label>
  66.       <input type="text" id="vlm_broadcast_name" size="20" onchange="update_vlm_add_broadcast();" />
  67.       <input type="checkbox" id="vlm_broadcast_enabled" onchange="update_vlm_add_broadcast();" />
  68.       <label for="vlm_broadcast_enabled">Enable</label>
  69.       <input type="checkbox" id="vlm_broadcast_loop" onchange="update_vlm_add_broadcast();" />
  70.       <label for="vlm_broadcast_loop">Loop</label>
  71.       <br/>
  72.       <label for="vlm_broadcast_input">Input</label>
  73.       <input type="text" id="vlm_broadcast_input" size="60" onblur="update_vlm_add_broadcast();" />
  74.       <input type="button" value="Edit" onclick="vlm_input_edit('vlm_broadcast_input');" />
  75.       <br/>
  76.       <label for="vlm_broadcast_output">Output</label>
  77.       <input type="text" id="vlm_broadcast_output" size="60" onblur="update_vlm_add_broadcast();" />
  78.       <input type="button" value="Edit" onclick="vlm_output_edit('vlm_broadcast_output');" />
  79.       <br/>
  80.     </div>
  81.     <div id="vlm_add_vod" style="display: none">
  82.       New video on demand element
  83.       <hr />
  84.       <label for="vlm_vod_name">Name</label>
  85.       <input type="text" id="vlm_vod_name" size="20" onchange="update_vlm_add_vod();" />
  86.       <input type="checkbox" id="vlm_vod_enabled" onchange="update_vlm_add_vod();" />
  87.       <label for="vlm_vod_enabled">Enable</label>
  88.       <br/>
  89.       <label for="vlm_vod_input">Input</label>
  90.       <input type="text" id="vlm_vod_input" size="60" onblur="update_vlm_add_vod();" />
  91.       <input type="button" value="Edit" onclick="vlm_input_edit('vlm_vod_input');" />
  92.       <br/>
  93.       <label for="vlm_vod_output">Output (leave empty unless you want to transcode)</label>
  94.       <input type="text" id="vlm_vod_output" size="60" onblur="update_vlm_add_vod();" />
  95.       <input type="button" value="Edit" onclick="vlm_output_edit('vlm_vod_output');" />
  96.       <br/>
  97.     </div>
  98.     <div id="vlm_add_schedule" style="display: none">
  99.       New schedule
  100.       <hr />
  101.       <label for="vlm_schedule_name">Name</label>
  102.       <input type="text" id="vlm_schedule_name" size="20" onchange="update_vlm_add_schedule();" />
  103.       <input type="checkbox" id="vlm_schedule_enabled" onchange="update_vlm_add_schedule();" />
  104.       <label for="vlm_schedule_enabled">Enable</label>
  105.       <br />
  106.       Schedule date:
  107.       <input type="checkbox" id="vlm_schedule_now" onchange="toggle_schedule_date();update_vlm_add_schedule();" />
  108.       <label for="vlm_schedule_now">Now</label>
  109.       <br/>
  110.       <label for="vlm_schedule_year">Year:</label>
  111.       <input type="text" id="vlm_schedule_year" value="1970" size="4" maxlength="4" onchange="update_vlm_add_schedule();" />
  112.       <label for="vlm_schedule_month">Month:</label>
  113.       <input type="text" id="vlm_schedule_month" value="01" size="2" maxlength="2" onchange="update_vlm_add_schedule();" />
  114.       <label for="vlm_schedule_day">Day:</label>
  115.       <input type="text" id="vlm_schedule_day" value="01" size="2" maxlength="2" onchange="update_vlm_add_schedule();" />
  116.       <label for="vlm_schedule_hour">Hour:</label>
  117.       <input type="text" id="vlm_schedule_hour" value="00" size="2" maxlength="2" onchange="update_vlm_add_schedule();" />
  118.       <label for="vlm_schedule_minute">Minute:</label>
  119.       <input type="text" id="vlm_schedule_minute" value="59" size="2" maxlength="2" onchange="update_vlm_add_schedule();" />
  120.       <label for="vlm_schedule_second">Second:</label>
  121.       <input type="text" id="vlm_schedule_second" value="59" size="2" maxlength="2" onchange="update_vlm_add_schedule();" />
  122.       <br/>
  123.       Schedule period:<br/>
  124.       <input type="checkbox" id="vlm_schedule_repeat" onchange="toggle_schedule_repeat();update_vlm_add_schedule();" />
  125.       <label for="vlm_schedule_repeat">Repeat</label>
  126.       <br />
  127.       <label for="vlm_schedule_period_year">Year:</label>
  128.       <input type="text" id="vlm_schedule_period_year" value="0" size="4" disabled="disabled" onchange="update_vlm_add_schedule();" />
  129.       <label for="vlm_schedule_period_month">Month:</label>
  130.       <input type="text" id="vlm_schedule_period_month" value="0" size="2" disabled="disabled" onchange="update_vlm_add_schedule();" />
  131.       <label for="vlm_schedule_period_day">Day:</label>
  132.       <input type="text" id="vlm_schedule_period_day" value="0" size="2" disabled="disabled" onchange="update_vlm_add_schedule();" />
  133.       <label for="vlm_schedule_period_hour">Hour:</label>
  134.       <input type="text" id="vlm_schedule_period_hour" value="0" size="2" disabled="disabled" onchange="update_vlm_add_schedule();" />
  135.       <label for="vlm_schedule_period_minute">Minute:</label>
  136.       <input type="text" id="vlm_schedule_period_minute" value="0" size="4" disabled="disabled" onchange="update_vlm_add_schedule();" />
  137.       <label for="vlm_schedule_period_second">Second:</label>
  138.       <input type="text" id="vlm_schedule_period_second" value="0" size="4" disabled="disabled" onchange="update_vlm_add_schedule();" />
  139.       <br />
  140.       <label for="vlm_schedule_repeat_times">Number of repetitions (use 0 to repeat endlessly):</label>
  141.       <input type="text" id="vlm_schedule_repeat_times" size="8" disabled="disabled" value="0" onchange="update_vlm_add_schedule();" />
  142.     </div>
  143.     <div id="vlm_add_other" style="display: none">
  144.       <input type="button" id="btn_import" onclick="vlm_batch(document.getElementById('vlm_batch_text').value);" value="Send command batch" />
  145.       <input type="button" id="btn_export" onclick="document.location.assign('vlm_export.html');" value="Export VLM commands (new page)" />
  146.       <br/>
  147.       <textarea cols="70" rows="20" id="vlm_batch_text">#paste your VLM commands here</textarea>
  148.     </div>
  149.   </div>
  150. </div>
  151.  
  152. <div id="vlm_broadcast" class="dialog" >
  153.   <div class="title">
  154.     Broadcast Elements
  155.     <button id="btn_refresh_broadcast" onclick="vlm_get_elements();" title="Refresh" >
  156.       <img src="images/refresh.png" alt="Refresh" />
  157.     </button>
  158.   </div>
  159.   <div id="vlm_broadcast_list" class="list"></div>
  160. </div>
  161.  
  162. <div id="vlm_vod" class="dialog" >
  163.   <div class="title">
  164.     Video on Demand Elements
  165.     <button id="btn_refresh_vod" onclick="vlm_get_elements();" title="Refresh" >
  166.       <img src="images/refresh.png" alt="Refresh" />
  167.     </button>
  168.   </div>
  169.   <div id="vlm_vod_list" class="list"></div>
  170. </div>
  171.  
  172. <div id="vlm_schedule" class="dialog" >
  173.   <div class="title">
  174.     Schedule Elements
  175.     <button id="btn_refresh_schedule" onclick="vlm_get_elements();" title="Refresh" >
  176.       <img src="images/refresh.png" alt="Refresh" />
  177.     </button>
  178.   </div>
  179.   <div id="vlm_schedule_list" class="list"></div>
  180. </div>
  181.