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

29 lines
722 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. For broken links: try changing /ns1videos/ to /videos/ in the link.</p>
</div>
<% end %>
</div>
<%= add_comments @movie.file %>