]> git.sesse.net Git - vlc/blob - share/http/index.html
* configure.ac: -> 0.7.2-cvs
[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 nowrap="nowrap">Current state: <vlc id="value" param1="stream_state" /></td>
24        <td align="right"><a href="info.html">Information</a> <a href="admin/">Administration</a></td>
25       </tr>
26       <tr>
27         <td nowrap="nowrap">
28           <form method="get" action="">
29             <input type="submit" name="control" value="stop" />
30             <input type="submit" name="control" value="pause" />
31             <input type="submit" name="control" value="previous" />
32             <input type="submit" name="control" value="next" />
33             <input type="submit" name="control" value="fullscreen" />
34           </form>
35         </td>
36       </tr>
37       <tr>
38        <td colspan="2">
39         <table>
40          <tr>
41            <td>
42              <form method="get" action="">             
43                <input type="submit" name="seek_value" value="-1min"/><input type="hidden" name="control" value="seek"/>
44              </form>
45            </td>
46            <td>
47              <form method="get" action="">
48                <input type="text" name="seek_value" size="14"/><input type="hidden" name="control" value="seek"/>
49              </form>
50            </td>
51            <td>
52              <form method="get" action="">
53                <input type="submit" name="seek_value" value="+1min"/><input type="hidden" name="control" value="seek"/>
54              </form>
55            </td>
56            <td>
57             ( Seek Textbox: for example "+12min 42sec", "01:13:43", "-12%" etc... )
58            </td>
59          </tr>
60         </table>
61        </td>
62       </tr>
63       <tr>
64         <td>
65           <form method="get" action="">
66           Current volume level: <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"/>
67           </form>
68         </td>
69       </tr>
70      </table>
71     </div>
72     <div class="sectitle">Add</div>
73     <div class="section">
74      <form method="get" action="" enctype="text/plain" >
75       <table class="add">
76        <tr>
77         <td>Add a MRL (Media Resource Locator) to the playlist</td>
78         <td><input type="text" name="mrl" size="40" /><input type="submit" name="control" value="add" /></td>
79        </tr>
80        <tr>
81         <td>Stream Output:</td>
82         <td><input type="text" name="sout" size="40" value="<vlc id="get" param1="sout" param2="string" />" /><input type="submit" name="control" value="sout" /></td>
83        </tr>
84       </table>
85      </form>
86     </div>
87
88     <div class="sectitle">VLC Playlist</div>
89      <div class="section">
90       <form method="get" action="">
91       <table>
92         <tr>
93           <td>
94             <input type="submit" name="control" value="sort" /> by
95             <select name="type">
96               <option value="title">title</option>
97               <option value="group">group</option>
98               <option value="author">author</option>
99             </select> with
100             <select name="order">
101               <option value="0">normal order</option>
102               <option value="1">reverse order</option>
103             </select>
104           </td>
105         </tr>
106         <tr>
107           <td>
108             <table>
109               <vlc id="foreach" param1="pl" param2="playlist" />
110               <tr class="<vlc id="if" param1="pl.index 2 % 0 =" />ligne1<vlc id="else" />ligne2<vlc id="end" />">
111                 <td>
112                   <input type="checkbox" name="item" value="<vlc id="value" param1="pl.index" />"/>
113                   <vlc id="if" param1="pl.current" />
114                   <b>
115                   <vlc id="end" />
116                   <a href="?control=play&amp;item=<vlc id="value" param1="pl.index" />">
117                   <vlc id="value" param1="pl.index" /> - <vlc id="value" param1="pl.uri" /><vlc id="if" param1="pl.uri value pl.name value strcmp"/>  (<vlc id="value" param1="pl.name" />)<vlc id="end"/></a>
118                   <vlc id="if" param1="pl.current" />
119                   </b>
120                   <vlc id="end" />
121                 </td>
122               </tr>
123               <vlc id="end" />
124             </table>
125           </td>
126         </tr>
127         <tr>  
128           <td>
129             <input type="submit" name="control" value="delete" />
130             <input type="submit" name="control" value="keep" />
131           </td>
132         </tr>
133       </table>
134       </form>
135     </div>
136     <hr/>
137     <p> <vlc id="value" param1="copyright" /> </p>
138 </body>
139 </html>