]> git.sesse.net Git - vlc/blob - share/http/index.html
* http interface: changed index.html for new seek function. small change
[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        <td colspan="1">Current State: <vlc id="value" param1="stream_state" /></td>
24        <td colspan="0" align="right"><a href="info.html">Information</a> <a href="admin/">Administration</a></td>
25       </tr>
26       <tr><td> </td></tr>
27       <tr>
28        <form method="get" action="">
29         <td colspan="5">
30          <input type="submit" name="control" value="stop" />
31          <input type="submit" name="control" value="pause" />
32          <input type="submit" name="control" value="previous" />
33          <input type="submit" name="control" value="next" />
34          <input type="submit" name="control" value="fullscreen" />
35         </td>
36         <td colspan="0" align="right">
37          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">
38         </td>
39        </form>
40       </tr>
41       <tr>
42        <form>
43         <td colspan="8"><input type="submit" name="seek_value" value="-1min"><input type="text" name="seek_value" size="12"><input type="hidden" name="control" value="seek"><input type="submit" name="seek_value" value="+1min"> ( Seek Textbox: for example "+12min 42sec", "01:13:43", "-12%" etc... )</td>
44        </form>
45       </tr>
46      </table>
47     </div>
48     <div class="sectitle">Add</div>
49     <div class="section">
50      <form method="get" action="" enctype="text/plain" >
51       <table class="add">
52        <tr>
53         <td>Add a MRL (Media Resource Locator) to the playlist</td>
54         <td><input type="text" name="mrl" size="40" /><input type="submit" name="control" value="add" /></td>
55        </tr>
56        <tr>
57         <td>Stream Output:</td>
58         <td><input type="text" name="sout" size="40" value="<vlc id="get" param1="sout" param2="string" />" /><input type="submit" name="control" value="sout" /></td>
59        </tr>
60       </table>
61      </form>
62     </div>
63   
64     <div class="sectitle">VLC Playlist</div>
65     <div class="section"> 
66
67     <form method="get" action="">
68      <table>
69         <vlc id="foreach" param1="pl" param2="playlist" />
70           <tr class="<vlc id="if" param1="2 pl.index % 0 =" />ligne1<vlc id="else" />ligne2<vlc id="end" />">
71           <td>
72            <input type=checkbox name="item" value="<vlc id="value" param1="pl.index" />">
73            <vlc id="if" param1="pl.current" />
74                 <b>
75             <vlc id="end" />
76             <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" />
77                 </b>
78             <vlc id="end" />
79            </td></tr>
80         <vlc id="end" />
81      </table>
82      <td><input type="submit" name="control" value="delete" /></td>
83      <td><input type="submit" name="control" value="keep" /></td>
84     </form>
85     <tr>
86      <td>
87       <form>
88        <input type="submit" name="control" value="sort" /> by
89        <select name="type">
90         <option value="title">title
91         <option value="group">group
92         <option value="author">author
93        </select> with
94        <select name="order">
95         <option value="0">normal order
96         <option value="1">reverse order
97        </select>
98       </form>
99      </td>
100     </tr>
101     </div>
102     <hr/>
103     <p> <vlc id="value" param1="copyright" /> </p>
104 </body>
105 </html>