Skip to content

HOWTO: Configure FlowPlayer to play VOD from FMS 4.5

February 24, 2012

..continue from: HOWTO: Configure VOD Streaming in Flash Media Development Server 4.5 on Debian

1. Download flowplayer with the plugin from http://flowplayer.org/plugins/streaming/rtmp.html

2. mkdir , extract, write html:

root@debian:/opt/adobe/fms/webroot#mkdir flowplayer; cd flowplayer

root@debian:/opt/adobe/fms/webroot/flowplayer# cat vod1.html

<html>
<head>
<title>Flowplayer</title>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″ />

<script src=”flowplayer-3.2.6.min.js”></script>

</head>
<div style=”width:400px;margin:2px auto;border-style:groove;border-width:5px;border-color: gray;”>
<body>

<!– player container–>

<a href=”player” style=”display:block;width:400px;height:300px” id=”player”></a>

<!– Flowplayer installation and configuration –>
<script language=”JavaScript”>
flowplayer(“player”, “flowplayer-3.2.7.swf”, {
clip: {
// url: ‘mp4:Svatba.mp4’,
url: ‘mp4:sample1_1500kbps.f4v’,
// configure clip to use influxis as our provider, it uses our rtmp plugin
provider: ‘rtmp’
},

// streaming plugins are configured under the plugins node
plugins: {
controls: {
url: ‘flowplayer.controls-3.2.5.swf’,

time: false,
scrubber: false
},

// here is our rtpm plugin configuration
rtmp: {
url: ‘flowplayer.rtmp-3.2.3.swf’,

// netConnectionUrl defines where the streams are found
netConnectionUrl: ‘rtmp://your_ip:1935/vod/mp4:test’
}
}
});

</script>
</div>
</body>
</html>

3. open browser : http://your_ip:8134/flowplayer/vod1.html

if it’s play – it’s ok

Advertisements

From → FMS, Streaming

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: