"Fossies" - the Fresh Open Source Software Archive

Member "vlc-3.0.8/lua/http/dialogs/stream_window.html" (14 Aug 2019, 4153 Bytes) of package /windows/misc/vlc-3.0.8-win64.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <script type="text/javascript">
    2 //<![CDATA[
    3     var stream_server       =   window.location.hostname;
    4     function configureStreamWindow(stream_protocol,stream_server,stream_port,stream_file){
    5         $('#stream_protocol').val(stream_protocol);
    6         $('#stream_host').val(stream_server);
    7         $('#stream_port').val(stream_port);
    8         $('#stream_file').val(stream_file);
    9     }
   10     $(function(){
   11         $('#window_streams').dialog({
   12             autoOpen: false,
   13             minWidth: 600,
   14             minHeight: 430,
   15             buttons:{
   16                 "<?vlc gettext("Close") ?>":function(){
   17                     $(this).dialog("close");
   18                 }
   19             }
   20         });
   21         $('#window_stream_config').dialog({
   22             autoOpen: false,
   23             width:400,
   24             modal: true,
   25             buttons:{
   26                 "<?vlc gettext("Okay") ?>":function(){
   27                     $(this).dialog('close');
   28                 }
   29             }
   30         });
   31         $('#button_create_stream').click(function(){
   32             $('#window_create_stream').dialog('open');
   33             return false;
   34         });
   35         $('#button_clear_streams').click(function(){
   36             sendVLMCmd('del all');
   37             return false;
   38         });
   39         $('#button_config_streams').click(function(){
   40             $('#window_stream_config').dialog('open');
   41             return false;
   42         });
   43         $('#button_create_mosaic').click(function(){
   44             $('#window_mosaic').dialog('open');
   45             return false;
   46         });
   47         $('#button_refresh_streams').click(function(){
   48             updateStreams();
   49             return false;
   50         })
   51         $('#stream_host').val(stream_server);
   52     });
   53 //]]>
   54 </script>
   55 <div id="stream_status_" style="visibility:hidden;display:none;">
   56     <h3><a href="#" id="stream_title_"></a></h3>
   57     <div>
   58         <div id="button_stream_stop_" class="button icon ui-widget ui-state-default" title="<?vlc gettext("Stop") ?>"><span class="ui-icon ui-icon-stop"></span></div>
   59         <div id="button_stream_play_" class="button icon ui-widget ui-state-default" title="<?vlc gettext("Play") ?>"><span class="ui-icon ui-icon-play"></span></div>
   60         <div id="button_stream_loop_" class="button icon ui-widget ui-state-default" title="<?vlc gettext("Loop") ?>"><span class="ui-icon ui-icon-refresh"></span></div>
   61         <div id="button_stream_delete_" class="button icon ui-widget ui-state-default" title="<?vlc gettext("Remove Stream") ?>"><span class="ui-icon ui-icon-trash"></span></div>
   62         <div>Title: <span id="stream_file_"></span></div>
   63         <div style="width: 260px; margin: 5px 0px 10px 0px;">
   64             <div id="stream_pos_"></div>
   65             <?vlc gettext("Time:") ?> <span id="stream_current_time_">00:00:00</span> / <span id="stream_total_time_">00:00:00</span>
   66         </div>
   67     </div>
   68 </div>
   69 <div id="window_streams" title="<?vlc gettext("Manage Streams") ?>">
   70     <div id="button_create_stream" class="button icon ui-widget ui-state-default" title="<?vlc gettext("Create New Stream") ?>" opendialog="window_create_stream"><span class="ui-icon ui-icon-plus"></span></div>
   71     <div id="button_create_mosaic" class="button icon ui-widget ui-state-default" title="<?vlc gettext("Create Mosaic") ?>" opendialog="window_create_mosaiac"><span class="ui-icon ui-icon-calculator"></span></div>
   72     <div id="button_clear_streams" class="button icon ui-widget ui-state-default" title="<?vlc gettext("Delete All Streams") ?>"><span class="ui-icon ui-icon-trash"></span></div>
   73     <div id="button_config_streams" class="button icon ui-widget ui-state-default" title="<?vlc gettext("Configure Stream Defaults") ?>"><span class="ui-icon ui-icon-wrench"></span></div>
   74     <div id="button_refresh_streams" class="button ui-widget ui-state-default ui-corner-all" title="<?vlc gettext("Refresh Streams") ?>"><span class="ui-icon ui-icon-arrowrefresh-1-n"></span></div>
   75     <div id="stream_info">
   76 
   77     </div>
   78 
   79 </div>
   80 <div id="window_stream_config" title="<?vlc gettext("Stream Input Configuration") ?>">
   81     <table>
   82         <tr>
   83             <td><?vlc gettext("Protocol") ?></td>
   84             <td><input type="text" name="stream_protocol" id="stream_protocol" value="http" /></td>
   85         </tr>
   86         <tr>
   87             <td><?vlc gettext("Host") ?></td>
   88             <td><input type="text" name="stream_host" id="stream_host" value="" /></td>
   89         </tr>
   90         <tr>
   91             <td><?vlc gettext("Port") ?></td>
   92             <td><input type="text" name="stream_port" id="stream_port" value="8081" /></td>
   93         </tr>
   94         <tr>
   95             <td><?vlc gettext("File") ?></td>
   96             <td><input type="text" name="stream_file" id="stream_file" value="stream.flv" /></td>
   97         </tr>
   98     </table>
   99 </div>