Skip to content

Invidious is an alternative front-end to YouTube

Add label to HLS

Omar Rothcefb5d679fcd
diff --git a/src/invidious/views/components/player.ecr b/src/invidious/views/components/player.ecr
index 4bdd7832..34df55c3 100644
--- a/src/invidious/views/components/player.ecr
+++ b/src/invidious/views/components/player.ecr
@@ -4,7 +4,7 @@
<% if params[:video_loop] %>loop<% end %>
<% if params[:controls] %>controls<% end %>>
<% if hlsvp %>
- <source src="<%= hlsvp %>" type="application/x-mpegURL">
+ <source src="<%= hlsvp %>" type="application/x-mpegURL" label="livestream">
<% else %>
<% if params[:listen] %>
<% audio_streams.each_with_index do |fmt, i| %>