ensl.org/app/views/movies/stream.html.erb
2020-03-22 19:47:24 +02:00

26 lines
No EOL
753 B
Text

<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} %>