]> git.sesse.net Git - vlc/blob - share/lua/http/dialogs/stream_config_window.html
http inf: move old http interface components to subdir
[vlc] / share / lua / http / dialogs / stream_config_window.html
1 <script type="text/javascript">
2         $(function(){
3                 $('#window_stream_config').dialog({
4                         autoOpen: false,
5                         width:400,
6                         modal: true,
7                         buttons:{
8                                 "Okay":function(){
9                                         $('#player').empty();
10                                         $('#player').attr('href',$('#stream_protocol').val()+'://'+$('#stream_host').val()+':'+$('#stream_port').val()+'/'+$('#stream_file').val());
11                                         flowplayer("player", "http://releases.flowplayer.org/swf/flowplayer-3.2.7.swf");
12                                         $(this).dialog('close');
13                                 },
14                                 "Cancel":function(){
15                                         $(this).dialog('close');
16                                 }
17                         }
18                 });
19         })
20 </script>
21 <div id="window_stream_config" title="Stream Input Configuration">
22         <table>
23                 <tr>
24                         <td>Protocol</td>
25                         <td><input type="text" name="stream_protocol" id="stream_protocol" value="http" /></td>
26                 </tr>
27                 <tr>
28                         <td>Host</td>
29                         <td><input type="text" name="stream_host" id="stream_host" value="" /></td>
30                 </tr>
31                 <tr>
32                         <td>Port</td>
33                         <td><input type="text" name="stream_port" id="stream_port" value="8081" /></td>
34                 </tr>
35                 <tr>
36                         <td>File</td>
37                         <td><input type="text" name="stream_file" id="stream_file" value="stream.flv" /></td>
38                 </tr>
39         </table>
40 </div>