mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-27 21:10:54 +00:00
34 lines
856 B
Text
34 lines
856 B
Text
<div class="box">
|
|
<h2>
|
|
<%= namelink @movie %>
|
|
</h2>
|
|
<%= render :partial => "movie", :object => @movie %>
|
|
|
|
<% if @movie.preview %>
|
|
<div class="nbox wide center">
|
|
<%= javascript_include_tag 'flowplayer' %>
|
|
<script>
|
|
flowplayer("player", "/flash/flowplayer-3.1.3.swf",
|
|
{
|
|
clip:
|
|
{
|
|
autoPlay: false,
|
|
autoBuffering: false
|
|
}
|
|
});
|
|
</script>
|
|
<a
|
|
href="<%= @movie.preview.url %>"
|
|
style="display:block;width:520px;height:330px"
|
|
id="player" class="centered">
|
|
</a>
|
|
|
|
<p>
|
|
This is a low quality version. Please download better version from above. <br />
|
|
We recommend <%= link_to "VLC Player", "http://www.videolan.org/vlc/" %> for movie playback.
|
|
</p>
|
|
</div>
|
|
<% end %>
|
|
</div>
|
|
|
|
<%= add_comments @movie.file %>
|