ensl.org/app/views/movies/show.html.erb
b 07983b5436 Movie link info
added info to find videos
2018-04-13 00:18:52 +00:00

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