From 4952705e07f3ac5826c86bd36cbabb50c6b6b43f Mon Sep 17 00:00:00 2001 From: Ashley <iamashley@duck.com> Date: Mon, 7 Nov 2022 19:37:59 +0100 Subject: [PATCH] qwq --- html/channel.ejs | 58 +----------------------------------------------- 1 file changed, 1 insertion(+), 57 deletions(-) diff --git a/html/channel.ejs b/html/channel.ejs index 65f78715..930701b4 100644 --- a/html/channel.ejs +++ b/html/channel.ejs @@ -464,63 +464,7 @@ <div class="video-grid" > - <!-- - <% if (!continuation) { %> - - <% tj.Channel.Contents.ItemSection[2].Shelf.Items.Video.forEach(x => { %> - <a href="/watch?v=<%- x.id %>" class="video"> - <div class="thumbnail" style="background-image: url('https://p.poketube.fun/https://i.ytimg.com/vi/<%= x.id %>/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLBy_x4UUHLNDZtJtH0PXeQGoRFTgw');border-radius: 10px;"><span class="video-length"><%- x.duration %></span></div> - <div class="info"> - <span class="title max-lines-2" style="font-family:PokeTube flex,sans-serif;font-weight: 1000;font-stretch: ultra-expanded;"><%- x.Title %></span> - - </div> - </a> - <% }) %> - <% } %> - - <p> - continuations are broken on channels atm - </p> - <% if (continuation) { %> - - <% tj.Channel.Contents.Video.forEach(x => { %> - <a href="/watch?v=<%- x.id %>" class="video"> - <div class="thumbnail" style="background-image: url('https://p.poketube.fun/https://i.ytimg.com/vi/<%= x.id %>/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLBy_x4UUHLNDZtJtH0PXeQGoRFTgw');border-radius: 10px;"><span class="video-length"><%- x.duration %></span></div> - <div class="info"> - <span class="title max-lines-2" style="font-family:Ginto Nord,sans-serif;"><%- x.Title %></span> - - </div> - </a> - <% }) %> - - - </div> - <% if (!continuation) { %> - - <% if (tj.Channel.Contents.ItemSection.ItemSection.Continuation) { %> - - - <div class="pagination-buttons" style="border-top: none;justify-content: center"> - <a style="color:#fff" href="/channel?id=<%=ID%>&continuation=<%=tj.Channel.Contents.ItemSection.ItemSection.Continuation.key%>">Next Page</a> - - </div> - - <% } %> - <% } %> - <% if (continuation) { %> - - <% if (tj.Channel.Contents.Continuation) { %> - - - <div class="pagination-buttons" style="border-top: none;justify-content: center"> - <a style="color:#fff" href="/channel?id=<%=ID%>&continuation=<%=tj.Channel.Contents.Continuation.key%>">Next Page</a> - - </div> - - <% } %> - <% } %> - <% } %> ---> + not workin rn :c <% } %>