Commit e40d692f authored by Antoine Cellerier's avatar Antoine Cellerier

New "Flash player" page for the HTTP interface. (Allows playback even if you...

New "Flash player" page for the HTTP interface. (Allows playback even if you don't have the VLC plugin installed ... like on the Wii)
parent 1754a6f7
...@@ -30,6 +30,7 @@ This dialog needs the following dialogs to be fully functional: <none> ...@@ -30,6 +30,7 @@ This dialog needs the following dialogs to be fully functional: <none>
<a href="/">main VLC interface</a> - <a href="/">main VLC interface</a> -
<a href="/vlm.html">VLM interface</a> - <a href="/vlm.html">VLM interface</a> -
<a href="/mosaic.html">Mosaic wizard</a> - <a href="/mosaic.html">Mosaic wizard</a> -
<a href="/flash.html">Flash based remote playback</a> -
<a href="http://www.videolan.org">VideoLAN website</a> <a href="http://www.videolan.org">VideoLAN website</a>
<br /> <br />
<vlc id="value" param1="copyright" /> <vlc id="value" param1="copyright" />
......
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>VLC media player - Web Interface with Flash Viewer</title>
<meta http-equiv="Content-Type" content="text/html; charset=<vlc id="value" param1="charset"/>" />
<link href="style.css" rel="stylesheet" type="text/css" />
<!--[if IE ]>
<link href="iehacks.css" rel="stylesheet" type="text/css" />
<![endif]-->
<script type="text/javascript" src="js/functions.js"></script>
<script type="text/javascript">
// <![CDATA[
host = document.location.toString().replace( /http:\/\//, '' ).replace( /[:/].*/, '' );
// ]]>
</script>
</head>
<body onload="hide('playlist');">
<vlc id="include" param1="dialogs/browse" />
<vlc id="include" param1="dialogs/main" />
<vlc id="include" param1="dialogs/input" />
<vlc id="include" param1="dialogs/playlist" />
<input id="sout_mrl" type="hidden" value=":sout=#transcode{vcodec=FLV1,acodec=mp3,channels=1,samplerate=44100}:std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=0.0.0.0:8081/stream.flv}" />
<div style='height: 100%; width: 100%;'>
<object type="application/x-shockwave-flash" data="http://flowplayer.sourceforge.net/video/FlowPlayer.swf" width="100%" height="600px" id="FlowPlayer">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="http://flowplayer.sourceforge.net/video/FlowPlayer.swf" />
<param name="quality" value="high" />
<!-- <param name="scale" value="noScale" />-->
<param name="wmode" value="transparent" />
<!-- <param name="flashvars" value="config={ loop: false, initialScale: \'fit\', autoPlay: false, configInject: true}" />-->
<script type="text/javascript">
// <![CDATA[
document.write( '' +
' <param name="flashvars" value="config={ loop: false, initialScale: \'fit\', autoPlay: true, playList: [{ url: \'http://' + host + ':8081/stream.flv\', controlEnabled: true}] }" />' );
// ]]>
</script>
</object>
</div>
<vlc id="include" param1="dialogs/footer" />
</body>
</html>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment