]> git.sesse.net Git - vlc/blob - share/lua/http/flash.html
vcdx: Fix memleaks.
[vlc] / share / lua / http / flash.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
3 <html xmlns="http://www.w3.org/1999/xhtml">
4
5 <head>
6   <title>VLC media player - Web Interface with Flash Viewer</title>
7   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8   <link href="style.css" rel="stylesheet" type="text/css" />
9   <!--[if IE ]>
10   <link href="iehacks.css" rel="stylesheet" type="text/css" />
11   <![endif]-->
12   <script type="text/javascript" src="js/functions.js"></script>
13 <script type="text/javascript">
14 // <![CDATA[
15 host = document.location.toString().replace( /http:\/\//, '' ).replace( /[:/].*/, '' );
16 input_options.push( ":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}" );
17 input_options.push( ":no-sout-keep" );
18 // ]]>
19 </script>
20 </head>
21
22 <body onload="hide('playlist'); refresh_input_options_list();">
23 <?vlc
24 current_page = "index"
25 dialogs("browse","main","input","playlist") ?>
26
27   <div style='height: 100%; width: 100%; text-align: center;'>
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">
29           <param name="allowScriptAccess" value="sameDomain" />
30           <param name="movie" value="http://flowplayer.sourceforge.net/video/FlowPlayer.swf" />
31           <param name="quality" value="high" />
32     <!--          <param name="scale" value="noScale" />-->
33           <param name="wmode" value="transparent" />
34         <!--  <param name="flashvars" value="config={ loop: false, initialScale: \'fit\', autoPlay: false, configInject: true}" />-->
35   <script type="text/javascript">
36 // <![CDATA[
37   document.write( '' +
38 '         <param name="flashvars" value="config={ loop: false, initialScale: \'fit\', autoPlay: false, playList: [{ url: \'http://' + host + ':8081/stream.flv\', controlEnabled: true}] }" />' );
39 // ]]>
40 </script>
41   </object>
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>
43   </div>
44
45 <?vlc dialogs("footer") ?>
46 </body>
47
48 </html>