Sha256: 56795a907da07c16fd00371ea21ee325be78a58d8c73e6c31b9f5f4345240a24

Contents?: true

Size: 681 Bytes

Versions: 5

Compression:

Stored size: 681 Bytes

Contents

<% if @webvtt %>
  
  <h2><%= t 'kinney.transcript.title' %></h2>
  <%#= vtt_button(@clip) %>
  <table class="table table-striped" id="transcript_table">
    <thead>
      <tr>
        <th><%= t 'kinney.transcript.text' %></th>
        <th><%= t 'kinney.transcript.timestamp' %></th>
      </tr>
    </thead>
    <tbody>
      <% @webvtt.cues.each do |cue| %>
        <tr>
          <td><%= cue.text %></td>
          <td><%= link_to cue.start, '', :class => 'transcript_jump', :'data-video-jump-time' => jump_time(cue.start) %> - <%= cue.end %></td>
        </tr>
      <% end -%>
    </tbody>
  </table>

  <%= render partial: "/kinney/link_to_full_transcript" %>
    
<% end -%>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
kinney-0.1.1 app/views/kinney/_webvtt.html.erb
kinney-0.1.0 app/views/kinney/_webvtt.html.erb
kinney-0.0.3 app/views/kinney/_webvtt.html.erb
kinney-0.0.2 app/views/kinney/_webvtt.html.erb
kinney-0.0.1 app/views/kinney/_webvtt.html.erb