mirror of
https://github.com/iv-org/invidious.git
synced 2025-05-30 21:51:37 +00:00
5 lines
359 B
Plaintext
5 lines
359 B
Plaintext
<audio style="width:100%" poster="<%= thumbnail %>" title="<%= HTML.escape(video.title) %>" id="player" class="video-js" data-setup="{}" controls>
|
|
<% audio_streams.each_with_index do |fmt, i| %>
|
|
<source src="<%= fmt["url"] %>" type='<%= fmt["type"] %>' label="<%= fmt["bitrate"] %>k" selected="<%= i == 0 ? true : false %>">
|
|
<% end %>
|
|
</audio> |