ensl.org/app/views/movies/stream.html.erb

31 lines
624 B
Text
Raw Permalink Normal View History

<div class="box center">
<%= javascript_include_tag 'flowplayer' %>
<a
style="display:block;width:520px;height:330px"
id="player" class="centered">
</a>
<script>
flowplayer("player", "/flash/flowplayer-3.1.3.swf",
{
clip:
{
url: 'ensl.sdp',
live: true,
autoPlay: true,
autoBuffering: true,
provider: 'influxis'
},
plugins: {
influxis: {
url: '/flash/flowplayer.rtmp-3.1.3.swf',
netConnectionUrl: 'rtmp://ensl.org'
}
}
});
</script>
</div>
<%= render :partial => "shoutmsgs/index", :locals => {:object => @movie} %>