]> git.sesse.net Git - vlc/blob - share/http/index.html
* http.c,index.html: add seek function in http interface. Also added "stream_positio...
[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" />
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      <form method="get" action="">
22       <table class="add">
23        <tr>
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="empty" /></td>
29         <td><a href="info.html">Informations</a></td>
30         <td><a href="admin/">Administration</a></td>
31        </tr>
32       </table>
33      </form>
34      <form>
35       <table>
36        <tr>
37         <td>Seek (in percentage): <input type="text" name="percent" size="3">%<input type="submit" name="control" value="seek"></td>
38        </tr>
39       </table>
40      </form>
41     </div>
42     <div class="sectitle">Add</div>
43     <div class="section">
44      <form method="get" action="" enctype="text/plain" >
45       <table class="add">
46        <tr>
47         <td>Add a MRL (Media Resource Locator) to the playlist</td>
48         <td><input type="text" name="mrl" size="40" /></td>
49         <td><input type="submit" name="control" value="add" /></td>
50        </tr>
51        <tr>
52         <td>Stream Output:</td>
53         <td><input type="text" name="sout" size="40" value="<vlc id="get" param1="sout" param2="string" />" /></td>
54         <td><input type="submit" name="control" value="sout" /></td>
55        </tr>
56       </table>
57      </form>
58     </div>
59   
60     <div class="sectitle">VLC Playlist</div>
61     <div class="section"> 
62     <form method="get" action="">
63      <table>
64         <vlc id="foreach" param1="pl" param2="playlist" />
65           <tr class="<vlc id="if" param1="2 pl.index % 0 =" />ligne1<vlc id="else" />ligne2<vlc id="end" />">
66           <td>
67            <input type=checkbox name="item" value="<vlc id="value" param1="pl.index" />">
68            <vlc id="if" param1="pl.current" />
69                 <b>
70             <vlc id="end" />
71             <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" />
72                 </b>
73             <vlc id="end" />
74            </td></tr>
75         <vlc id="end" />
76      </table>
77      <td><input type="submit" name="control" value="delete" /></td>
78     </form>
79     </div>
80     <hr/>
81     <p> <vlc id="value" param1="copyright" /> </p>
82 </body>
83 </html>
84