diff options
| author | Samantaz Fox <coding@samantaz.fr> | 2021-11-10 16:42:37 +0100 |
|---|---|---|
| committer | Samantaz Fox <coding@samantaz.fr> | 2021-11-21 01:50:11 +0100 |
| commit | a1bb421eec608382ca1cc76c4be9db0a417f6bca (patch) | |
| tree | a3e6bc5942e721b02fe6ba7c885a5cac7315709a /src | |
| parent | 139786b9ef909c6d36ec37ed90eead15d686e3ee (diff) | |
| download | invidious-a1bb421eec608382ca1cc76c4be9db0a417f6bca.tar.gz invidious-a1bb421eec608382ca1cc76c4be9db0a417f6bca.tar.bz2 invidious-a1bb421eec608382ca1cc76c4be9db0a417f6bca.zip | |
Remove useless 'hl' parameters on captions URL
Diffstat (limited to 'src')
| -rw-r--r-- | src/invidious/views/components/player.ecr | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/invidious/views/components/player.ecr b/src/invidious/views/components/player.ecr index 6418f66b..206ba380 100644 --- a/src/invidious/views/components/player.ecr +++ b/src/invidious/views/components/player.ecr @@ -32,13 +32,11 @@ <% end %> <% preferred_captions.each do |caption| %> - <track kind="captions" src="/api/v1/captions/<%= video.id %>?label=<%= caption.name %>&hl=<%= env.get("preferences").as(Preferences).locale %>" - label="<%= caption.name %>"> + <track kind="captions" src="/api/v1/captions/<%= video.id %>?label=<%= caption.name %>" label="<%= caption.name %>"> <% end %> <% captions.each do |caption| %> - <track kind="captions" src="/api/v1/captions/<%= video.id %>?label=<%= caption.name %>&hl=<%= env.get("preferences").as(Preferences).locale %>" - label="<%= caption.name %>"> + <track kind="captions" src="/api/v1/captions/<%= video.id %>?label=<%= caption.name %>" label="<%= caption.name %>"> <% end %> <% end %> </video> |
