<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 %>
