+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
< index.html: VLC media player web interface
< - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
< Copyright (C) 2005 the VideoLAN team
-< $Id: $
+< $Id$
<
< Authors: Antoine Cellerier <dionoea -at- videolan -dot- org>
<
<
< You should have received a copy of the GNU General Public License
< along with this program; if not, write to the Free Software
-< Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
+< Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
< - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="functions.js"></script>
+ <!-- in case people had scripts that sent commands to the default
+ index.html page -->
+ <vlc id="control" param1="stop,pause,previous,next,add,sout,play,delete,empty,seek,fullscreen,keep,volume,sort,move" />
+
</head>
<body onload="loop_refresh();">
+<div id="browse" style="display: none;">
+ <div class="title">
+ Browse
+ </div>
+ <div id="browser">
+ <a href="javascript:browse_dir(document.getElementById( 'browse_lastdir' ).value);">Lets browse !</a>
+ </div>
+ <div class="controls">
+ <button id="btn_browse_close" onclick="hide('browse');">
+ Close
+ </button>
+ <input type="hidden" id="browse_lastdir" value="~" />
+ <input type="hidden" id="browse_dest" value="" />
+ </div>
+</div>
+
<div id="main">
<div class="title">
VLC media player
Time : <span id="time">(?)</span>/<span id="length">(?)</span>
-
Volume : <span id="volume">(?)</span>
+ <br/>
+ <span id="nowplaying">(?)</span>
</div>
</div>
Open File
<hr/>
<label for="input_file_filename">File name</label>
- <input type="text" id="input_file_filename" size="60" />
+ <input type="text" id="input_file_filename" size="60" onchange="update_input_file();" onfocus="update_input_file();"/>
+ <input type="button" id="input_file_browse" value="Browse" onclick="browse( 'input_file_filename' );" />
<hr/>
<input type="checkbox" id="input_sub_options" />
<label for="input_sub_options">Subtitle options *TODO/FIXME/FIXHTTPD*</label>
Playlist
</div>
<div class="controls">
- <button id="btn_delete" onmouseover="button_over(this);" onmouseout="button_out(this);">
+ <!--<button id="btn_delete" onmouseover="button_over(this);" onmouseout="button_out(this);">
<img src="images/delete.png" alt="Delete" />
<span class="btn_text">Delete</span>
- </button>
+ </button>-->
<button id="btn_empty" onclick="pl_empty();" onmouseover="button_over(this);" onmouseout="button_out(this);">
<img src="images/empty.png" alt="Empty" />
<span class="btn_text">Empty</span>
</button>
- <button id="btn_sort" onmouseover="button_over(this);" onmouseout="button_out(this);">
+ <button id="btn_sort" onclick="pl_sort();" onmouseover="button_over(this);" onmouseout="button_out(this);">
<img src="images/sort.png" alt="Sort" />
<span class="btn_text">Sort</span>
</button>
- <button id="btn_shuffle" onmouseover="button_over(this);" onmouseout="button_out(this);">
+ <button id="btn_shuffle" onclick="pl_shuffle();" onmouseover="button_over(this);" onmouseout="button_out(this);">
<img src="images/shuffle.png" alt="Shuffle" />
<span class="btn_text">Shuffle</span>
</button>
- <button id="btn_loop" onmouseover="button_over(this);" onmouseout="button_out(this);">
+ <button id="btn_loop" onclick="pl_loop();" onmouseover="button_over(this);" onmouseout="button_out(this);">
<img src="images/loop.png" alt="Loop" />
<span class="btn_text">Loop</span>
</button>
- <button id="btn_repeat" onmouseover="button_over(this);" onmouseout="button_out(this);">
+ <button id="btn_repeat" onclick="pl_repeat();" onmouseover="button_over(this);" onmouseout="button_out(this);">
<img src="images/repeat.png" alt="Repeat" />
<span class="btn_text">Repeat</span>
</button>