mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-30 22:41:33 +00:00
28 lines
654 B
Text
28 lines
654 B
Text
<div class="movie-full">
|
|
<h1 class="fancy">
|
|
<span><%= namelink @movie %></span>
|
|
</h1>
|
|
|
|
<%= render partial: "movie", object: @movie %>
|
|
|
|
<% if @movie.preview %>
|
|
<div class="player">
|
|
<%= javascript_include_tag 'flowplayer' %>
|
|
|
|
<script>
|
|
flowplayer("player", "/flash/flowplayer-3.1.3.swf", {
|
|
clip: {
|
|
autoPlay: false,
|
|
autoBuffering: false
|
|
}
|
|
});
|
|
</script>
|
|
|
|
<a id="player" href="<%= @movie.preview.url %>"></a>
|
|
|
|
<p>This is a low quality version. Please download better version from above.</p>
|
|
</div>
|
|
<% end %>
|
|
</div>
|
|
|
|
<%= add_comments @movie.file %>
|