mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Add watch on youtube button on each video item
This commit is contained in:
parent
f422a77014
commit
56fab9d178
1 changed files with 3 additions and 0 deletions
|
@ -141,6 +141,9 @@
|
||||||
<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;">
|
||||||
|
<i class="icon ion-logo-youtube"></i>
|
||||||
|
</a>
|
||||||
<a title="<%=translate(locale, "Audio mode")%>" href="/watch?v=<%= item.id %>&listen=1">
|
<a title="<%=translate(locale, "Audio mode")%>" href="/watch?v=<%= item.id %>&listen=1">
|
||||||
<i class="icon ion-md-headset"></i>
|
<i class="icon ion-md-headset"></i>
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in a new issue