Add 'www' to URL on watch on youtube button

This commit is contained in:
syeopite 2021-03-25 11:24:02 -07:00
parent 56fab9d178
commit 148071a744
No known key found for this signature in database
GPG Key ID: 6FA616E5A5294A82
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@
<b style="flex: 1;"> <b style="flex: 1;">
<a style="width:100%" href="/channel/<%= item.ucid %>"><%= item.author %></a> <a style="width:100%" href="/channel/<%= item.ucid %>"><%= item.author %></a>
</b> </b>
<a title="<%=translate(locale, "Watch on YouTube")%>" href="https://youtube.com/watch?v=<%= item.id %>" style="margin-right: 5px;"> <a title="<%=translate(locale, "Watch on YouTube")%>" href="https://www.youtube.com/watch?v=<%= item.id %>" style="margin-right: 5px;">
<i class="icon ion-logo-youtube"></i> <i class="icon ion-logo-youtube"></i>
</a> </a>
<a title="<%=translate(locale, "Audio mode")%>" href="/watch?v=<%= item.id %>&amp;listen=1"> <a title="<%=translate(locale, "Audio mode")%>" href="/watch?v=<%= item.id %>&amp;listen=1">