index.html 4.5 KB
Newer Older
1 2 3 4 5
<?xml version="1.0" encoding="iso-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD  XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml10/DTD/xhtml10transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
 <head>
6
    <title>VLC Media Player</title>
7 8
    <link href="/style.css" title="Default" rel="stylesheet" />

9 10 11 12
    <vlc id="if" param1="url_param"/>
        <meta http-equiv="refresh" content="0;URL=/" />
    <vlc id="end" />

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 16 17
 </head>
 <body>
    <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 24
       <td nowrap="1">Current State: <vlc id="value" param1="stream_state" /></td>
       <td align="right"><a href="info.html">Information</a> <a href="admin/">Administration</a></td>
25
      </tr>
26 27
      <tr>
       <form method="get" action="">
28
        <td nowrap="1">
29 30 31 32 33 34
         <input type="submit" name="control" value="stop" />
         <input type="submit" name="control" value="pause" />
         <input type="submit" name="control" value="previous" />
         <input type="submit" name="control" value="next" />
         <input type="submit" name="control" value="fullscreen" />
        </td>
35
       </form>
36 37
      </tr>
      <tr>
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
       <td colspan="2">
        <table>
         <tr>
          <form>
           <td><input type="submit" name="seek_value" value="-1min"><input type="hidden" name="control" value="seek"></td>
          </form>
          <form>
           <td><input type="text" name="seek_value" size="14"><input type="hidden" name="control" value="seek"></td>
          </form>
          <form>
           <td><input type="submit" name="seek_value" value="+1min"><input type="hidden" name="control" value="seek"></td>
          </form>
           <td>
            ( Seek Textbox: for example "+12min 42sec", "01:13:43", "-12%" etc... )
           </td>
         </tr>
        </table>
       </td>
56
      </tr>
57 58 59 60 61 62 63
      <tr>
       <form>
        <td>
         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>
       </form>
      </tr>
64
     </table>
65 66 67 68 69 70 71
    </div>
    <div class="sectitle">Add</div>
    <div class="section">
     <form method="get" action="" enctype="text/plain" >
      <table class="add">
       <tr>
        <td>Add a MRL (Media Resource Locator) to the playlist</td>
72
        <td><input type="text" name="mrl" size="40" /><input type="submit" name="control" value="add" /></td>
73 74 75
       </tr>
       <tr>
        <td>Stream Output:</td>
76
        <td><input type="text" name="sout" size="40" value="<vlc id="get" param1="sout" param2="string" />" /><input type="submit" name="control" value="sout" /></td>
77 78 79 80
       </tr>
      </table>
     </form>
    </div>
81

82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
    <div class="sectitle">VLC Playlist</div>
     <div class="section"> 
      <tr>
       <td>
        <form>
         <input type="submit" name="control" value="sort" /> by
         <select name="type">
          <option value="title">title
          <option value="group">group
          <option value="author">author
         </select> with
         <select name="order">
          <option value="0">normal order
          <option value="1">reverse order
         </select>
        </form>
       </td>
      </tr>
      <form method="get" action="">
      <table>
       <vlc id="foreach" param1="pl" param2="playlist" />
103
        <tr class="<vlc id="if" param1="pl.index 2 % 0 =" />ligne1<vlc id="else" />ligne2<vlc id="end" />">
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119
         <td>
          <input type=checkbox name="item" value="<vlc id="value" param1="pl.index" />">
          <vlc id="if" param1="pl.current" />
               <b>
           <vlc id="end" />
           <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" />
               </b>
          <vlc id="end" />
         </td>
        </tr>
       <vlc id="end" />
      </table>
      <td><input type="submit" name="control" value="delete" /></td>
      <td><input type="submit" name="control" value="keep" /></td>
     </form>
120
    </div>
121 122 123 124
    <hr/>
    <p> <vlc id="value" param1="copyright" /> </p>
</body>
</html>