]> git.sesse.net Git - vlc/blob - share/http/dialogs/input
BeOS fix
[vlc] / share / http / dialogs / input
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$
8
9 <  Authors: Antoine Cellerier <dionoea -at- videolan -dot- org>
10
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.
15
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.
20
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 < - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
25
26 This dialog needs the following dialogs to be fully functional: browse
27 <vlc id="end" />
28
29 <div id="input" class="dialog" style="display: none">
30   <div class="title">
31     Input
32   </div>
33   <div class="controls">
34     <label for="input_mrl">Input (MRL)</label>
35     <vlc id="if" param1="page value 'vlm' strcmp 0 =" />
36       <input type="text" name="input_mrl" id="input_mrl" size="60" onkeypress="if( event.keyCode == 13 ) vlm_input_change();"/>
37       <input type="button" value="Ok" onclick="vlm_input_change();" />
38       <input type="hidden" id="input_dest" value="" />
39     <vlc id="else" />
40       <input type="text" name="input_mrl" id="input_mrl" size="60" onkeypress="if( event.keyCode == 13 ) in_play();"/>
41       <input type="button" value="Play" onclick="in_play();" />
42       <input type="button" value="Enqueue" onclick="in_enqueue();" />
43     <vlc id="end" />
44     <br/>
45     <!--<button id="btn_inhide" onclick="hide_input();">
46       Hide
47     </button>-->
48     <button id="btn_file" onclick="hide_input();show('input_file');update_input_file();">
49       File
50     </button>
51     <button id="btn_disc" onclick="hide_input();show('input_disc');update_input_disc();">
52       Disc
53     </button>
54     <button id="btn_network" onclick="hide_input();show('input_network');update_input_net();">
55       Network
56     </button>
57   </div>
58   <div id="input" class="helper" >
59     <div id="input_file" style="display: block">
60       Open File
61       <hr/>
62       <label for="input_file_filename">File name</label>
63       <input type="text" id="input_file_filename" size="60" onchange="update_input_file();" onfocus="update_input_file();"/>
64       <input type="button" id="input_file_browse" value="Browse" onclick="browse( 'input_file_filename' );" />
65       <hr/>
66       <input type="checkbox" id="input_sub_options" />
67       <label for="input_sub_options">Subtitle options *TODO/FIXME/FIXHTTPD*</label>
68       <br/>
69       <label for="input_sub_file">Subtitles file</label>
70       <input type="text" id="input_sub_file" size="60" />
71       <br/><!-- TODO -->
72       <label for="input_sub_enc">Subtitles encoding</label>
73       <select id="input_sub_enc">
74         <option></option>
75       </select>
76       <br/>
77       <label for="input_sub_size">Font size</label>
78       <select id="input_sub_size">
79         <option></option>
80       </select>
81       <label for="input_sub_justification">Justification</label>
82       <select id="input_sub_justification">
83         <option></option>
84       </select>
85       <br/>
86       <label for="input_sub_fps">Frames per second</label>
87       <input type="text" id="input_sub_fps" />
88       <label for="input_sub_delay">Delay</label>
89       <input type="text" id="input_sub_delay" />
90     </div>
91     <div id="input_disc" style="display: none">
92       Open Disc
93       <hr/>
94       Disc type :
95       <input type="radio" name="input_disc_type" id="input_disc_dvdmenu" value="dvd" onchange="update_input_disc();" />
96       <label for="input_disc_dvdmenu">DVD (menus)</label>
97       <input type="radio" name="input_disc_type" id="input_disc_dvd" value="dvdsimple" onchange="update_input_disc();" />
98       <label for="input_disc_dvd">DVD</label>
99       <input type="radio" name="input_disc_type" id="input_disc_vcd" value="vcd" onchange="update_input_disc();" />
100       <label for="input_disc_vcd">VCD</label>
101       <input type="radio" name="input_disc_type" id="input_disc_cdda" value="cdda" onchange="update_input_disc();" />
102       <label for="input_disc_cdda">Audio CD</label>
103       <hr/>
104       <table>
105         <tr>
106           <td>
107             <label for="input_disc_dev">Device name</label>
108           </td>
109           <td>
110             <input type="text" id="input_disc_dev" onchange="update_input_disc();" />
111           </td>
112         </tr>
113         <tr>
114           <td>
115             <label for="input_disc_title">Title</label>
116           </td>
117           <td>
118             <input type="text" id="input_disc_title" onchange="update_input_disc();" />
119           </td>
120         </tr>
121         <tr>
122           <td>
123             <label for="input_disc_chapter">Chapter</label>
124           </td>
125           <td>
126             <input type="text" id="input_disc_chapter" onchange="update_input_disc();" />
127           </td>
128         </tr>
129         <tr>
130           <td>
131             <label for="input_disc_subtrack">Subtitles track</label>
132           </td>
133           <td>
134              <input type="text" id="input_disc_subtrack" onchange="update_input_disc();" />
135           </td>
136         </tr>
137         <tr>
138           <td>
139             <label for="input_disc_audiotrack">Audio track</label>
140           </td>
141           <td>
142             <input type="text" id="input_disc_audiotrack" onchange="update_input_disc();" />
143           </td>
144         </tr>
145       </table>
146     </div>
147     <div id="input_network" style="display: none">
148       Open Network
149       <hr/>
150       <table>
151         <tr>
152           <td>
153             <input type="radio" name="input_net_type" id="input_net_udp" value="udp" onchange="update_input_net();" />
154             <label for="input_net_udp">UDP/RTP</label>
155           </td>
156           <td>
157             <label for="input_net_udp_port">Port</label>
158             <input type="text" id="input_net_udp_port" size="6" onchange="update_input_net();" />
159             <input type="checkbox" id="input_net_udp_forceipv6" onchange="update_input_net();" />
160             <label for="input_net_udp_forceipv6">Force IPv6</label>
161           </td>
162         </tr>
163         <tr>
164           <td>
165             <input type="radio" name="input_net_type" id="input_net_udpmcast" value="udpmcast" onchange="update_input_net();" />
166             <label for="input_net_udpmcast">UDP/RTP Multicast</label>
167           </td>
168           <td>
169             <label for="input_net_udpmcast_address">Address</label>
170             <input type="text" id="input_net_udpmcast_address" onchange="update_input_net();" />
171             <label for="input_net_udpmcast_port">Port</label>
172             <input type="text" id="input_net_udpmcast_port" size="6" onchange="update_input_net();" />
173           </td>
174         </tr>
175         <tr>
176           <td>
177             <input type="radio" name="input_net_type" id="input_net_http" value="http" onchange="update_input_net();" />
178             <label for="input_net_http">HTTP/HTTPS/FTP/MMS</label>
179           </td>
180           <td>
181             <label for="input_net_http_url">URL</label>
182             <input type="text" id="input_net_http_url" onchange="update_input_net();" />
183           </td>
184         </tr>
185         <tr>
186           <td>
187             <input type="radio" name="input_net_type" id="input_net_rtsp" value="rtsp" onchange="update_input_net();" />
188             <label for="input_net_rtsp">RTSP</label>
189           </td>
190           <td>
191             <label for="input_net_rtsp_url">URL</label>
192             <input type="text" id="input_net_rtsp_url" value="rtsp://" onchange="update_input_net();" />
193           </td>
194         </tr>
195         <tr>
196           <td>
197             <input type="checkbox" id="input_net_timeshift" onchange="update_input_net();" />
198             <label for="input_net_timeshift">Allow timeshifting</label>
199           </td>
200           <td></td>
201         </tr>
202       </table>
203     </div>
204   </div>
205 </div>