Add watch on youtube button on each video item

This commit is contained in:
syeopite 2021-03-24 18:34:06 -07:00
parent f422a77014
commit 56fab9d178
No known key found for this signature in database
GPG Key ID: 6FA616E5A5294A82

View File

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