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