Add "search as you type" to the HTTP interface.
[vlc.git] / share / http-lua / flash.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r
2 \r
3 <html xmlns="http://www.w3.org/1999/xhtml">\r
4 \r
5 <head>\r
6   <title>VLC media player - Web Interface with Flash Viewer</title>\r
7   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />\r
8   <link href="style.css" rel="stylesheet" type="text/css" />\r
9   <!--[if IE ]>\r
10   <link href="iehacks.css" rel="stylesheet" type="text/css" />\r
11   <![endif]-->\r
12   <script type="text/javascript" src="js/functions.js"></script>\r
13 <script type="text/javascript">\r
14 // <![CDATA[\r
15 host = document.location.toString().replace( /http:\/\//, '' ).replace( /[:/].*/, '' );\r
16 // ]]>\r
17 </script>\r
18 </head>\r
19 \r
20 <body onload="hide('playlist');">\r
21 <?vlc\r
22 current_page = "index"\r
23 dialogs("browse","main","input","playlist") ?>\r
24 \r
25   <input id="sout_mrl" type="hidden" value=":sout=#transcode{vcodec=FLV1,acodec=mp3,channels=2,samplerate=44100}:std{access=http,mux=ffmpeg{mux=flv},dst=0.0.0.0:8081/stream.flv} :no-sout-keep" />\r
26 \r
27   <div style='height: 100%; width: 100%; text-align: center;'>\r
28   <object type="application/x-shockwave-flash" data="http://flowplayer.sourceforge.net/video/FlowPlayer.swf" width="800px" height="600px" id="FlowPlayer" style="z-index: 0">\r
29           <param name="allowScriptAccess" value="sameDomain" />\r
30           <param name="movie" value="http://flowplayer.sourceforge.net/video/FlowPlayer.swf" />\r
31           <param name="quality" value="high" />\r
32     <!--          <param name="scale" value="noScale" />-->\r
33           <param name="wmode" value="transparent" />\r
34         <!--  <param name="flashvars" value="config={ loop: false, initialScale: \'fit\', autoPlay: false, configInject: true}" />-->\r
35   <script type="text/javascript">\r
36 // <![CDATA[\r
37   document.write( '' +\r
38 '         <param name="flashvars" value="config={ loop: false, initialScale: \'fit\', autoPlay: false, playList: [{ url: \'http://' + host + ':8081/stream.flv\', controlEnabled: true}] }" />' );\r
39 // ]]>\r
40 </script>\r
41   </object>\r
42   <p style="font-size: small;">Uses the <a href="http://flowplayer.sourceforge.net/">Flow Player</a> free flash video player for playback (client side).</p>\r
43   </div>\r
44 \r
45 <?vlc dialogs("footer") ?>\r
46 </body>\r
47 \r
48 </html>\r