add a check for artists

This commit is contained in:
ashley 2024-05-31 11:08:45 +00:00
parent 9edfb9c216
commit 7aa8181f6f

View file

@ -1670,7 +1670,14 @@ Recommended Videos
<% } %> <% } %>
<div> <div>
<a class="max-lines-2" href="/channel?id=<%= x.authorId %>@youtube.com" style="-webkit-line-clamp:1;width:12em;word-wrap:break-word"> <a class="max-lines-2" href="/channel?id=<%= x.authorId %>@youtube.com" style="-webkit-line-clamp:1;width:12em;word-wrap:break-word">
<span> <%=x.author %> <% if (x?.authorVerified) { %> <i class="icon ion ion-md-checkmark-circle" style="margin-left: 0em;" title="verified channel"></i> <% } %> </span> <span> <%=x.author %> <% if (x?.authorVerified) { %>
<% if (x.title.toLowerCase().includes("official video") || x.title.toLowerCase().includes("official music video") || x.title.toLowerCase().includes("official audio")) { %>
<i class="fa-light fa-music-note" style="margin-left: 0em;" title="official artist channel"></i>
<% } else { %>
<i class="icon ion ion-md-checkmark-circle" style="margin-left: 0em;" title="verified channel"></i>
<% } %>
<% } %>
</span>
</a> </a>
<div class="video-views"> <div class="video-views">