1 <vlc id="if" param1="0" />
3 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
4 < mosaic: VLC media player web interface - mosaic wizard
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: input and
30 <div id="mosaic" class="dialog">
32 VLC media player - Mosaic wizard
33 <button id="btn_toggle_text" onclick="toggle_btn_text();">
34 <img src="images/help.png" alt="Help" />
38 <div class="controls">
39 <b>Mosaic dimensions:</b><br/>
40 <table style="text-align: right;">
43 <label for="bg_width">Background width*:</label> <input class="mosaic_bg" type="text" id="bg_width" value="400" size="8" onchange="mosaic_size_change();" />
46 <label for="bg_height">Background height*:</label> <input class="mosaic_bg" type="text" id="bg_height" value="300" size="8" onchange="mosaic_size_change();" />
51 <label for="mosaic_width">Width:</label> <input class="mosaic_tbl" type="text" id="mosaic_width" value="200" size="8" onchange="mosaic_size_change();" />
54 <label for="mosaic_height">Height:</label> <input class="mosaic_tbl" type="text" id="mosaic_height" value="200" size="8" onchange="mosaic_size_change();" />
59 <label for="mosaic_xoffset">X offset (left):</label> <input class="mosaic_tbl" type="text" id="mosaic_xoffset" value="10" size="8" onchange="mosaic_size_change();" />
62 <label for="mosaic_yoffset">Y offset (top):</label> <input class="mosaic_tbl" type="text" id="mosaic_yoffset" value="10" size="8" onchange="mosaic_size_change();" />
67 <label for="mosaic_cols">Columns:</label> <input class="mosaic_itm" type="text" id="mosaic_cols" value="2" size="8" onchange="mosaic_size_change();" />
70 <label for="mosaic_rows">Rows:</label> <input class="mosaic_itm" type="text" id="mosaic_rows" value="2" size="8" onchange="mosaic_size_change();" />
75 <label for="mosaic_hborder">Horizontal border:</label> <input class="mosaic_itm" type="text" id="mosaic_hborder" value="10" size="8" onchange="mosaic_size_change();" />
78 <label for="mosaic_vborder">Vertical border:</label> <input class="mosaic_itm" type="text" id="mosaic_vborder" value="5" size="8" onchange="mosaic_size_change();" />
83 *: these values aren't used by the mosaic code.<br/> They're only here to adapt the preview's size.
87 <b>Background:</b><br/>
88 <label for="mosaic_bg_input">Input:<label> <input type="text" id="mosaic_bg_input" class="mosaic_bg" value="" size="60" onblur="mosaic_code_update();" /> <input type="button" value="Edit" onclick="vlm_input_edit( 'mosaic_bg_input' );" /><br/>
90 <label for="mosaic_input_name">Name:</label> <input type="text" id="mosaic_input_name" value="" class="mosaic_itm" />
91 <label for="mosaic_input">Input:</label> <input type="text" id="mosaic_input" value="" class="mosaic_itm" /> <input type="button" value="Edit" onclick="vlm_input_edit( 'mosaic_input' );" /> <input type="button" value="Add to input list" onclick="mosaic_add_input();" /><br/>
92 <b>Stream:</b> (leave this empty to display locally)<br/>
93 <label for="mosaic_output">Output:</label> <input type="text" id="mosaic_output" value="" size="60" onblur="mosaic_code_update();" /> <input type="button" value="Edit" onclick="vlm_output_edit( 'mosaic_output' );" /><br/>
94 <div id="mosaic_feedback"></div>
96 <div id="mosaic_list" class="popup">[<a href="javascript:hide('mosaic_list');">hide</a>] - Select a stream:<br/><div id="mosaic_list_content"></div></div>
97 <div class="controls">
98 Click on each of the cells to assign inputs. (<a href="javascript:document.getElementById('mosaic_list').value='';show('mosaic_list');">Show input list</a>)
102 <div id="mosaic_layout" class="mosaic_bg"></div>
104 <div class="dialog" style="overflow:visible;">
105 <div class="controls">
106 <input type="button" value="Let's go!" onclick="mosaic_batch(document.getElementById('mosaic_code').value);" />
107 <input type="button" value="Stop" onclick="mosaic_stop()" />
108 <input type="button" id="mosaic_code_show" value="Show VLM code" onclick="show('mosaic_code_div');hide('mosaic_code_show');showinline('mosaic_code_hide');" />
109 <input type="button" id="mosaic_code_hide" style="display:none" value="Hide VLM code" onclick="hide('mosaic_code_div');hide('mosaic_code_hide');showinline('mosaic_code_show');" />
112 <div id="mosaic_code_div" style="display:none;" >
113 Edit the following VLM command batch if you want to fine tune your mosaic settings:
114 <textarea id="mosaic_code" cols="80" rows="30"></textarea>