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

29 lines
654 B
Text
Raw Normal View History

2014-04-26 21:28:06 +00:00
<div class="movie-full">
<h1 class="fancy">
<span><%= namelink @movie %></span>
</h1>
<%= render partial: "movie", object: @movie %>
<% if @movie.preview %>
2014-04-26 21:28:06 +00:00
<div class="player">
<%= javascript_include_tag 'flowplayer' %>
2014-04-26 21:28:06 +00:00
<script>
2014-04-26 21:28:06 +00:00
flowplayer("player", "/flash/flowplayer-3.1.3.swf", {
clip: {
autoPlay: false,
autoBuffering: false
}
});
</script>
2014-04-26 21:28:06 +00:00
<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 %>