<% if (ID === "UCFAiFyGs6oDiF1Nf-rRJpZA") { %> Technoblade Never Dies! - PokeTube <% } %> <%=j.Channel?.Metadata.Name%> - PokeTube <% if (dnoreplace) { %> <% } %> <% if (j.Channel.Metadata.Banners.Thumbnail) { %> <% } %> <% if(!isMobile) { %> <% } %> <% if (isMobile) { %> <% } %> <% if (!isMobile) { %> <% } %> <% if (isMobile) { %> <% } %>
<% if (!isMobile) { %>
<% if (j.Channel.Metadata.Banners.Thumbnail) { %> <% } %>
Channel Avatar <% if (cinv?.authorVerified) { %> <% } %>

<%=j.Channel.Metadata.Name%> <% if (cinv.authorVerified) { %> <% if (cinv.isFamilyFriendly) { %> <% } %> <% if (!cinv.isFamilyFriendly) { %> <% } %> <% } %> <% if (cinv.isFamilyFriendly) { %> <% } %>

<%=subs%> subscribers

<%-getFirstLine(desc).slice(0, 60)%>

<% if (!isMobile) { %>
<% if (!tab) { %> Videos <% if (Array.isArray(shorts?.videos)) { %> <% if (shorts.videos[0]) { %> <% if (turntomins(shorts.videos[0].lengthSeconds) != "aN:aN" ) { %> Shorts <% } %> <% } %> <% } %> <% if (Array.isArray(stream?.videos)) { %> <% if (stream.videos[0]) { %> <% if (turntomins(stream.videos[0].lengthSeconds) != "aN:aN" ) { %> Live <% } %> <% } %> <% } %> <% if (Array.isArray(c?.comments)) { %> <% if (c.comments.length != "0") { %> Community <% } %> <% } %> About <% } %> <% if (tab === "about") { %> Videos <% if (Array.isArray(shorts?.videos)) { %> <% if (shorts.videos[0]) { %> <% if (turntomins(shorts.videos[0].lengthSeconds) != "aN:aN" ) { %> Shorts <% } %> <% } %> <% } %> <% if (Array.isArray(stream.videos)) { %> <% if (stream.videos[0]) { %> <% if (turntomins(stream.videos[0].lengthSeconds) != "aN:aN" ) { %> Live <% } %> <% } %> <% } %> <% if (Array.isArray(c.comments)) { %> <% if (c.comments.length != "0") { %> Community <% } %> <% } %> About <% } %> <% if (tab === "community") { %> Videos <% if (Array.isArray(shorts.videos)) { %> <% if (turntomins(shorts.videos[0].lengthSeconds) != "aN:aN" ) { %> Shorts <% } %> <% } %> <% if (Array.isArray(stream.videos)) { %> <% if (stream.videos[0]) { %> <% if (turntomins(stream.videos[0].lengthSeconds) != "aN:aN" ) { %> Live <% } %> <% } %> <% } %> Community About <% } %> <% if (tab === "shorts") { %> Videos <% if (Array.isArray(shorts?.videos)) { %> Shorts <% } %> <% if (Array.isArray(stream?.videos)) { %> <% if (stream.videos[0]) { %> <% if (turntomins(stream.videos[0].lengthSeconds) != "aN:aN" ) { %> Live <% } %> <% } %> <% } %> <% if (Array.isArray(c.comments)) { %> <% if (c.comments.length != "0") { %> Community <% } %> <% } %> About <% } %> <% if (tab === "live") { %> Videos <% if (Array.isArray(shorts?.videos)) { %> <% if (turntomins(shorts.videos[0].lengthSeconds) != "aN:aN" ) { %> Shorts <% } %> <% } %> <% if (Array.isArray(stream?.videos)) { %> Live <% } %> <% if (Array.isArray(c.comments)) { %> <% if (c.comments.length != "0") { %> Community <% } %> <% } %> About <% } %>
<% } %>
<% } %> <% if (isMobile) { %>
<% if (j.Channel.Metadata.Banners.Thumbnail) { %> <% } %>
Channel Avatar

<%=j.Channel.Metadata.Name%>

<%=subs%> subscribers

<%-getFirstLine(desc)%>

<% if (isMobile) { %>
<% if (!tab) { %> Home <% if (Array.isArray(c.comments)) { %> <% if (c.comments.length != "0") { %> Community <% } %> <% } %> About <% } %> <% if (tab ==="about") { %> Home Community About <% } %> <% if (tab ==="community") { %> Home Community About <% } %>
<% } %>
<% } %>
<% if (!tab) { %>
<% if (!isMobile) { %>
<% if (sort == "newest") { %> Recently Uploaded Popular Oldest <% } %> <% if (sort) { %> <% if (sort === "popular") { %> Recently Uploaded Popular Oldest <% } %> <% if (sort === "oldest") { %> Recently Uploaded Popular Oldest <% } %> <% } %>
<% } %> <% if (isMobile) { %>
Sort by
<% if (sort == "newest") { %> Recently Uploaded Popular Oldest <% } %> <% if (sort) { %> <% if (sort === "popular") { %> Recently Uploaded Popular Oldest <% } %> <% if (sort === "oldest") { %> Recently Uploaded Popular Oldest <% } %> <% } %>
<% } %>
<% if (Array.isArray( tj?.videos)) { %> <% tj.videos.forEach (x => { %>
<%- turntomins(x.lengthSeconds) %>
<%- x.title %>
<% }) %> <% } %>
<% if (tj?.continuation) { %> <% } %> <% } %> <% if (tab === "shorts") { %>
<% if (!isMobile) { %>
<% } %>
<% if (Array.isArray( shorts.videos)) { %> <% shorts.videos.forEach (x => { %> <%- x.title %> <% }) %> <% } %>
<% if (shorts.continuation) { %> <% } %> <% } %> <% if (tab === "live") { %>
<% if (isMobile) { %>
<% if (!sort) { %> Recently Uploaded Popular <% } %> <% if (sort) { %> Recently Uploaded Popular <% } %>
<% } %>
<% if (Array.isArray( stream.videos)) { %> <% stream.videos.forEach (x => { %>
<%- turntomins(x.lengthSeconds) %>
<%- x.title %>
<% }) %> <% } %>
<% if (stream.continuation) { %> <% } %> <% } %> <% if (tab === "community") { %> <% if (Array.isArray( c.comments)) { %>
<% c.comments.forEach (x => { %>

<%=j.Channel.Metadata.Name%>
<%- x.publishedText %> - <%- convert(x.likeCount) %> likes

<%- x.contentHtml %>

<% if (x.attachment) { %> <% if (x.attachment.type === "video") { %>
<% } %> <% if (x.attachment.type === "image") { %> <% if (x.attachment.imageThumbnails[4] ) { %> <% } %> <% } %> <% } %>
<% }) %> <% } %> <% } %> <% if (tab === "about") { %>

About

<% if (desc) { %>

<%-desc.replace(/\n/g, "
")%>

<% } %> <% if (wiki.extract_html) { %>

From the web

<%-wiki.extract_html%>

From wikipedia under CC-BY-SA 3.0

<% } %>
<% if (about.Location != "[object Object]") { %>

<%- about.Location%>

<% } %>

<%- about.Joined%>

<%- about.ViewCount%>

<% } %>