]> git.sesse.net Git - vlc/blob - share/http/index.html
* http interface: added volume control (relative or absolute) and
[vlc] / share / http / index.html
1 <?xml version="1.0" encoding="iso-8859-1" ?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD  XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml10/DTD/xhtml10transitional.dtd">
3
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
5  <head>
6     <title>VLC Media Player</title>
7     <link href="/style.css" title="Default" rel="stylesheet" />
8
9     <vlc id="if" param1="url_param"/>
10         <meta http-equiv="refresh" content="0;URL=/" />
11     <vlc id="end" />
12
13     <vlc id="control" param1="stop,pause,previous,next,add,sout,play,delete,empty,seek,fullscreen,keep,volume,sort" />
14     <vlc id="set" param1="sout" param2="string" />
15  </head>
16  <body>
17     <h2>
18      <a href="http://www.videolan.org">VLC Media Player <vlc id="value" param1="version" /></a> (http interface)</h2>
19     <div class="sectitle">Control VLC</div>
20     <div class="section">   
21      <table class="add">
22       <tr>
23        <form method="get" action="">
24         <td><input type="submit" name="control" value="stop" /></td>
25         <td><input type="submit" name="control" value="pause" /></td>
26         <td><input type="submit" name="control" value="previous" /></td>
27         <td><input type="submit" name="control" value="next" /></td>
28         <td><input type="submit" name="control" value="fullscreen" /></td>
29         <td><a href="info.html">Informations</a></td>
30         <td><a href="admin/">Administration</a></td>
31        </form>
32        <form>
33         <td colspan="0" align="right">Current Volume: <vlc id="value" param1="volume" /> <input type="text" name="value" size="5"><input type="hidden" name="control" value="volume"><input type="submit" name="Set" value="Set"></td>
34        </form>
35       </tr>
36       <tr>
37        <form>
38         <td colspan="5">Seek (in percentage): <input type="text" name="percent" size="3">%<input type="submit" name="control" value="seek"></td>
39        </form>
40       </tr>
41      </table>
42     </div>
43     <div class="sectitle">Add</div>
44     <div class="section">
45      <form method="get" action="" enctype="text/plain" >
46       <table class="add">
47        <tr>
48         <td>Add a MRL (Media Resource Locator) to the playlist</td>
49         <td><input type="text" name="mrl" size="40" /></td>
50         <td><input type="submit" name="control" value="add" /></td>
51        </tr>
52        <tr>
53         <td>Stream Output:</td>
54         <td><input type="text" name="sout" size="40" value="<vlc id="get" param1="sout" param2="string" />" /></td>
55         <td><input type="submit" name="control" value="sout" /></td>
56        </tr>
57       </table>
58      </form>
59     </div>
60   
61     <div class="sectitle">VLC Playlist</div>
62     <div class="section"> 
63
64     <form method="get" action="">
65      <table>
66         <vlc id="foreach" param1="pl" param2="playlist" />
67           <tr class="<vlc id="if" param1="2 pl.index % 0 =" />ligne1<vlc id="else" />ligne2<vlc id="end" />">
68           <td>
69            <input type=checkbox name="item" value="<vlc id="value" param1="pl.index" />">
70            <vlc id="if" param1="pl.current" />
71                 <b>
72             <vlc id="end" />
73             <a href="?control=play&item=<vlc id="value" param1="pl.index" />"><vlc id="value" param1="pl.index" /> - <vlc id="value" param1="pl.name" /></a>            <vlc id="if" param1="pl.current" />
74                 </b>
75             <vlc id="end" />
76            </td></tr>
77         <vlc id="end" />
78      </table>
79      <td><input type="submit" name="control" value="delete" /></td>
80      <td><input type="submit" name="control" value="keep" /></td>
81     </form>
82     <tr>
83      <td>
84       <form>
85        <input type="submit" name="control" value="sort" /> by
86        <select name="type">
87         <option value="title">title
88         <option value="group">group
89         <option value="author">author
90        </select> with
91        <select name="order">
92         <option value="0">normal order
93         <option value="1">reverse order
94        </select>
95       </form>
96      </td>
97     </tr>
98     </div>
99     <hr/>
100     <p> <vlc id="value" param1="copyright" /> </p>
101 </body>
102 </html>