@@ -10,11 +10,13 @@
 
 <% if video.has_notes? %>
   <div class="text-box">
-    <section class='video-notes'>
+    <section class='video-notes' data-markers="<%= video.markers.to_json %>">
       <h3>Notes</h3>
       <%= format_markdown(video.notes) %>
     </section>
   </div>
 <% end %>
 
+<%= render "seek_buttons" %>
+
 <%= render "comments", video: video %>
<%= render video.clip %>

<% if video.part_of_trail? %>
  <div class="mark-as-complete">
    <%= form_tag video_completions_path(video) do |f| %>
      <%= submit_tag t("videos.show.mark-as-complete") %>
    <% end %>
  </div>
<% end %>

<% if video.has_notes? %>
  <div class="text-box">
    <section class='video-notes'>
      <h3>Notes</h3>
      <%= format_markdown(video.notes) %>
    </section>
  </div>
<% end %>

<%= render "comments", video: video %>

Would this be clearer if it were extracted to a named partial?