-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5c915fa
commit 7161d1d
Showing
3 changed files
with
53 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
<%# locals: talk: -%> | ||
|
||
<% if talk.transcript %> | ||
<div class="flex flex-col gap-2"> | ||
<% talk.transcript.cues.each do |cue| %> | ||
<div class="flex gap-4"> | ||
<span class="cursor-pointer" data-action="click->video-player#seekTo" data-video-player-time-param="<%= cue.start_time_in_seconds %>"> | ||
<%= cue.start_time %> | ||
</span> | ||
<span><%= cue.text %></span> | ||
</div> | ||
<% end %> | ||
</div> | ||
<% end %> | ||
<div class="flex flex-col gap-2"> | ||
<% talk.transcript.cues.each do |cue| %> | ||
<% next if cue.sound_descriptor? %> | ||
<div class="flex gap-4"> | ||
<span class="cursor-pointer" data-action="click->video-player#seekTo" data-video-player-time-param="<%= cue.start_time_in_seconds %>"> | ||
<%= cue.start_time %> | ||
</span> | ||
<span><%= cue.text %></span> | ||
</div> | ||
<% end %> | ||
</div> |