mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-12-22 10:58:50 +00:00
Add JSON mapping for captions
This commit is contained in:
@@ -56,8 +56,8 @@ video, #my_video, .video-js, .vjs-default-skin
|
||||
<% end %>
|
||||
|
||||
<% captions.each do |caption| %>
|
||||
<track kind="captions" src="/api/v1/captions/<%= video.id %>?label=<%= caption["name"]["simpleText"] %>"
|
||||
label="<%= caption["name"]["simpleText"]%> ">
|
||||
<track kind="captions" src="/api/v1/captions/<%= video.id %>?label=<%= caption.name.simpleText %>"
|
||||
label="<%= caption.name.simpleText %> ">
|
||||
<% end %>
|
||||
<% end %>
|
||||
</video>
|
||||
|
||||
Reference in New Issue
Block a user