1 <vlc id="if" param1="0" />
3 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
4 < input: VLC media player web interface - input selection dialog
5 < - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
6 < Copyright (C) 2005-2006 the VideoLAN team
9 < Authors: Antoine Cellerier <dionoea -at- videolan -dot- org>
11 < This program is free software; you can redistribute it and/or modify
12 < it under the terms of the GNU General Public License as published by
13 < the Free Software Foundation; either version 2 of the License, or
14 < (at your option) any later version.
16 < This program is distributed in the hope that it will be useful,
17 < but WITHOUT ANY WARRANTY; without even the implied warranty of
18 < MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 < GNU General Public License for more details.
21 < You should have received a copy of the GNU General Public License
22 < along with this program; if not, write to the Free Software
23 < Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
24 < - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
26 This dialog needs the following dialogs to be fully functional: browse
29 <div id="input" class="dialog" style="display: none">
32 <img class="close" src="images/white_cross_small.png" alt="Close" onclick="hide('input');"/>
34 <div class="controls">
35 <label for="input_mrl">Input (MRL)</label>
36 <vlc id="if" param1="page value 'vlm' strcmp 0 =" />
37 <input type="text" name="input_mrl" id="input_mrl" size="60" onkeypress="if( event.keyCode == 13 ) vlm_input_change();"/>
38 <input type="button" value="Ok" onclick="vlm_input_change();" />
39 <input type="hidden" id="input_dest" value="" />
41 <input type="text" name="input_mrl" id="input_mrl" size="60" onkeypress="if( event.keyCode == 13 ) in_play();"/>
42 <input type="button" value="Play" onclick="in_play();" />
43 <input type="button" value="Enqueue" onclick="in_enqueue();" />
46 <!--<button id="btn_inhide" onclick="hide_input();">
49 <button id="btn_file" onclick="hide_input();show('input_file');update_input_file();">
52 <button id="btn_disc" onclick="hide_input();show('input_disc');update_input_disc();">
55 <button id="btn_network" onclick="hide_input();show('input_network');update_input_net();">
59 <div id="input" class="helper" >
60 <div id="input_file" style="display: block">
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' );" />
67 <input type="checkbox" id="input_sub_options" />
68 <label for="input_sub_options">Subtitle options *TODO/FIXME/FIXHTTPD*</label>
70 <label for="input_sub_file">Subtitles file</label>
71 <input type="text" id="input_sub_file" size="60" />
73 <label for="input_sub_enc">Subtitles encoding</label>
74 <select id="input_sub_enc">
78 <label for="input_sub_size">Font size</label>
79 <select id="input_sub_size">
82 <label for="input_sub_justification">Justification</label>
83 <select id="input_sub_justification">
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" />
92 <div id="input_disc" style="display: none">
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>
108 <label for="input_disc_dev">Device name</label>
111 <input type="text" id="input_disc_dev" onchange="update_input_disc();" />
116 <label for="input_disc_title">Title</label>
119 <input type="text" id="input_disc_title" onchange="update_input_disc();" />
124 <label for="input_disc_chapter">Chapter</label>
127 <input type="text" id="input_disc_chapter" onchange="update_input_disc();" />
132 <label for="input_disc_subtrack">Subtitles track</label>
135 <input type="text" id="input_disc_subtrack" onchange="update_input_disc();" />
140 <label for="input_disc_audiotrack">Audio track</label>
143 <input type="text" id="input_disc_audiotrack" onchange="update_input_disc();" />
148 <div id="input_network" style="display: none">
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>
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>
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>
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();" />
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>
182 <label for="input_net_http_url">URL</label>
183 <input type="text" id="input_net_http_url" onchange="update_input_net();" />
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>
192 <label for="input_net_rtsp_url">URL</label>
193 <input type="text" id="input_net_rtsp_url" value="rtsp://" onchange="update_input_net();" />
198 <input type="checkbox" id="input_net_timeshift" onchange="update_input_net();" />
199 <label for="input_net_timeshift">Allow timeshifting</label>