Playlist code: simplification, part 1
[vlc/asuraparaju-public.git] / share / http / flash.html
blobc16f50e269ef47a94dbe9a553084d49166519604
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
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 // ]]>
17 </script>
18 </head>
20 <body onload="hide('playlist');">
21 <vlc id="include" param1="dialogs/browse" />
22 <vlc id="include" param1="dialogs/main" />
23 <vlc id="include" param1="dialogs/input" />
24 <vlc id="include" param1="dialogs/playlist" />
26 <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" />
28 <div style='height: 100%; width: 100%; text-align: center;'>
29 <object type="application/x-shockwave-flash" data="http://flowplayer.sourceforge.net/video/FlowPlayer.swf" width="800px" height="600px" id="FlowPlayer" style="z-index: 0">
30 <param name="allowScriptAccess" value="sameDomain" />
31 <param name="movie" value="http://flowplayer.sourceforge.net/video/FlowPlayer.swf" />
32 <param name="quality" value="high" />
33 <!-- <param name="scale" value="noScale" />-->
34 <param name="wmode" value="transparent" />
35 <!-- <param name="flashvars" value="config={ loop: false, initialScale: \'fit\', autoPlay: false, configInject: true}" />-->
36 <script type="text/javascript">
37 // <![CDATA[
38 document.write( '' +
39 ' <param name="flashvars" value="config={ loop: false, initialScale: \'fit\', autoPlay: false, playList: [{ url: \'http://' + host + ':8081/stream.flv\', controlEnabled: true}] }" />' );
40 // ]]>
41 </script>
42 </object>
43 <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>
44 </div>
45 <vlc id="include" param1="dialogs/footer" />
46 </body>
48 </html>