input
资源名称:vlc-1.0.5.zip [点击查看]
上传用户:kjfoods
上传日期:2020-07-06
资源大小:29949k
文件大小:9k
源码类别:
midi
开发平台:
Unix_Linux
- <vlc id="if" param1="0" />
- vim:syntax=html
- <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
- < input: VLC media player web interface - input selection dialog
- < - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
- < Copyright (C) 2005-2006 the VideoLAN team
- < $Id$
- <
- < Authors: Antoine Cellerier <dionoea -at- videolan -dot- org>
- <
- < This program is free software; you can redistribute it and/or modify
- < it under the terms of the GNU General Public License as published by
- < the Free Software Foundation; either version 2 of the License, or
- < (at your option) any later version.
- <
- < This program is distributed in the hope that it will be useful,
- < but WITHOUT ANY WARRANTY; without even the implied warranty of
- < MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- < GNU General Public License for more details.
- <
- < You should have received a copy of the GNU General Public License
- < along with this program; if not, write to the Free Software
- < Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
- < - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
- This dialog needs the following dialogs to be fully functional: browse
- <vlc id="end" />
- <div id="input" class="dialog" style="display: none">
- <div class="title">
- Input
- <img class="close" src="images/white_cross_small.png" alt="Close" onclick="hide('input');"/>
- </div>
- <div class="controls">
- <label for="input_mrl">Input (MRL)</label>
- <vlc id="if" param1="page value 'vlm' strcmp 0 =" />
- <input type="text" name="input_mrl" id="input_mrl" size="60" onkeypress="if( event.keyCode == 13 ) vlm_input_change();"/>
- <input type="button" value="Ok" onclick="vlm_input_change();" />
- <input type="button" value="Cancel" onclick="hide('input');" />
- <input type="hidden" id="input_dest" value="" />
- <vlc id="else" />
- <input type="text" name="input_mrl" id="input_mrl" size="60" onkeypress="if( event.keyCode == 13 ) in_play();"/>
- <input type="button" value="Play" onclick="in_play();" />
- <input type="button" value="Enqueue" onclick="in_enqueue();" />
- <vlc id="end" />
- <br/>
- <!--<button id="btn_inhide" onclick="hide_input();">
- Hide
- </button>-->
- <button id="btn_file" onclick="hide_input();show('input_file');update_input_file();">
- File
- </button>
- <button id="btn_disc" onclick="hide_input();show('input_disc');update_input_disc();">
- Disc
- </button>
- <button id="btn_network" onclick="hide_input();show('input_network');update_input_net();">
- Network
- </button>
- <button id="btn_fake" onclick="hide_input();show('input_fake');update_input_fake();">
- Fixed image
- </button>
- </div>
- <div id="input_helper" class="helper" >
- <div id="input_file" style="display: block">
- Open File
- <hr/>
- <label for="input_file_filename">File name</label>
- <input type="text" id="input_file_filename" size="60" onchange="update_input_file();" onfocus="update_input_file();"/>
- <input type="button" id="input_file_browse" value="Browse" onclick="browse( 'input_file_filename' );" />
- <!-- <hr/>
- <input type="checkbox" id="input_sub_options" />
- <label for="input_sub_options">Subtitle options *TODO/FIXME/FIXHTTPD*</label>
- <br/>
- <label for="input_sub_file">Subtitles file</label>
- <input type="text" id="input_sub_file" size="60" />
- <br/>
- <label for="input_sub_enc">Subtitles encoding</label>
- <select id="input_sub_enc">
- <option></option>
- </select>
- <br/>
- <label for="input_sub_size">Font size</label>
- <select id="input_sub_size">
- <option></option>
- </select>
- <label for="input_sub_justification">Justification</label>
- <select id="input_sub_justification">
- <option></option>
- </select>
- <br/>
- <label for="input_sub_fps">Frames per second</label>
- <input type="text" id="input_sub_fps" />
- <label for="input_sub_delay">Delay</label>
- <input type="text" id="input_sub_delay" />-->
- </div>
- <div id="input_disc" style="display: none">
- Open Disc
- <hr/>
- Disc type :
- <input type="radio" name="input_disc_type" id="input_disc_dvdmenu" value="dvd" onchange="update_input_disc();" />
- <label for="input_disc_dvdmenu">DVD (menus)</label>
- <input type="radio" name="input_disc_type" id="input_disc_dvd" value="dvdsimple" onchange="update_input_disc();" />
- <label for="input_disc_dvd">DVD</label>
- <input type="radio" name="input_disc_type" id="input_disc_vcd" value="vcd" onchange="update_input_disc();" />
- <label for="input_disc_vcd">VCD</label>
- <input type="radio" name="input_disc_type" id="input_disc_cdda" value="cdda" onchange="update_input_disc();" />
- <label for="input_disc_cdda">Audio CD</label>
- <hr/>
- <table>
- <tr>
- <td>
- <label for="input_disc_dev">Device name</label>
- </td>
- <td>
- <input type="text" id="input_disc_dev" onchange="update_input_disc();" />
- </td>
- </tr>
- <tr>
- <td>
- <label for="input_disc_title">Title</label>
- </td>
- <td>
- <input type="text" id="input_disc_title" onchange="update_input_disc();" />
- </td>
- </tr>
- <tr>
- <td>
- <label for="input_disc_chapter">Chapter</label>
- </td>
- <td>
- <input type="text" id="input_disc_chapter" onchange="update_input_disc();" />
- </td>
- </tr>
- <tr>
- <td>
- <label for="input_disc_subtrack">Subtitles track</label>
- </td>
- <td>
- <input type="text" id="input_disc_subtrack" onchange="update_input_disc();" />
- </td>
- </tr>
- <tr>
- <td>
- <label for="input_disc_audiotrack">Audio track</label>
- </td>
- <td>
- <input type="text" id="input_disc_audiotrack" onchange="update_input_disc();" />
- </td>
- </tr>
- </table>
- </div>
- <div id="input_network" style="display: none">
- Open Network
- <hr/>
- <table>
- <tr>
- <td>
- <input type="radio" name="input_net_type" id="input_net_udp" value="udp" onchange="update_input_net();" />
- <label for="input_net_udp">UDP/RTP</label>
- </td>
- <td>
- <label for="input_net_udp_port">Port</label>
- <input type="text" id="input_net_udp_port" size="6" onchange="update_input_net();" />
- <input type="checkbox" id="input_net_udp_forceipv6" onchange="update_input_net();" />
- <label for="input_net_udp_forceipv6">Force IPv6</label>
- </td>
- </tr>
- <tr>
- <td>
- <input type="radio" name="input_net_type" id="input_net_udpmcast" value="udpmcast" onchange="update_input_net();" />
- <label for="input_net_udpmcast">UDP/RTP Multicast</label>
- </td>
- <td>
- <label for="input_net_udpmcast_address">Address</label>
- <input type="text" id="input_net_udpmcast_address" onchange="update_input_net();" />
- <label for="input_net_udpmcast_port">Port</label>
- <input type="text" id="input_net_udpmcast_port" size="6" onchange="update_input_net();" />
- </td>
- </tr>
- <tr>
- <td>
- <input type="radio" name="input_net_type" id="input_net_http" value="http" onchange="update_input_net();" />
- <label for="input_net_http">HTTP/HTTPS/FTP/MMS</label>
- </td>
- <td>
- <label for="input_net_http_url">URL</label>
- <input type="text" id="input_net_http_url" onchange="update_input_net();" />
- </td>
- </tr>
- <tr>
- <td>
- <input type="radio" name="input_net_type" id="input_net_rtsp" value="rtsp" onchange="update_input_net();" />
- <label for="input_net_rtsp">RTSP</label>
- </td>
- <td>
- <label for="input_net_rtsp_url">URL</label>
- <input type="text" id="input_net_rtsp_url" value="rtsp://" onchange="update_input_net();" />
- </td>
- </tr>
- <tr>
- <td>
- <input type="checkbox" id="input_net_timeshift" onchange="update_input_net();" />
- <label for="input_net_timeshift">Allow timeshifting</label>
- </td>
- <td></td>
- </tr>
- </table>
- </div>
- <div id="input_fake" style="display: none">
- Fixed image stream (fake)
- <hr/>
- <label for="input_fake_filename">Image file name</label>
- <input type="text" id="input_fake_filename" size="60" onchange="update_input_fake();" onfocus="update_input_fake();"/>
- <input type="button" id="input_fake_browse" value="Browse" onclick="browse( 'input_fake_filename' );" />
- <hr/>
- <label for="input_fake_width">Width</label>
- <input type="text" id="input_fake_width" size="8" onchange="update_input_fake();" />
- <label for="input_fake_height">Height</label>
- <input type="text" id="input_fake_height" size="8" onchange="update_input_fake();" />
- <label for="input_fake_ar">Aspect ratio</label>
- <input type="text" id="input_fake_ar" size="8" onchange="update_input_fake();" />
- </div>
- </div>
- </div>