From 647674ed355b89583ff3c57658af33e0e74bc2d9 Mon Sep 17 00:00:00 2001 From: Ashley //// Date: Mon, 22 Jan 2024 14:16:02 +0000 Subject: [PATCH] quality of life stuff :^ --- html/poketube.ejs | 61 +++++++++++++++++++++-------------------------- 1 file changed, 27 insertions(+), 34 deletions(-) diff --git a/html/poketube.ejs b/html/poketube.ejs index 146727b4..7bb5be08 100644 --- a/html/poketube.ejs +++ b/html/poketube.ejs @@ -1126,7 +1126,7 @@ display: block; !important;" autoplay controls>
- + " %>">
@@ -1328,15 +1328,14 @@ display: block; !important;" autoplay controls>
Metadata And Engagement
-
- +

Views : <%=engagement.viewCount.toLocaleString()%>
Genre: <%-inv_vid.genre %>
Upload date: <%=date%> ^^
-


+
Rating : <%=engagement.rating.toLocaleString()%> (<%=engagement.dislikes.toLocaleString()%>/<%=engagement.likes.toLocaleString()%> LTDR)
RYD date created : <%=engagement.dateCreated.toLocaleString()%>
See in json @@ -1347,8 +1346,7 @@ display: block; !important;" autoplay controls> -
- + <% if (Array.isArray(inv_vid?.keywords)) { %>
Tags
@@ -1365,8 +1363,7 @@ display: block; !important;" autoplay controls>
-
- <% } %> + <% } %> @@ -1527,16 +1524,17 @@ display: block; !important;" autoplay controls>
- +
- Comments - <%- convert(inv.commentCount) %> + YouTube Comments - <%- inv.commentCount %>
-

- Top Comments of this video!! :3 -

-
-<% inv.comments.forEach(x =>{ %>
<% if (!x.authorIsChannelOwner) { %>

<%- x.author%><% if (x.verified) { %><% } %>

<%- x.publishedText %>

<% } %><% if (x.authorIsChannelOwner) { %>

<%- x.author%><% if (x.verified) { %><% } %>

<%- x.publishedText %>

<% } %>

<%- x.contentHtml %>

<% if (x.likeCount === 0) { %> | <% } else { %> <%= convert(x.likeCount) %> | <% } %><% if(x.creatorHeart) { %> <% } %>

<% }) %> +

+ Top Comments of this video!! :3 +

+ +
+ <% inv.comments.forEach(x =>{ %>
<% if (!x.authorIsChannelOwner) { %>

<%- x.author%><% if (x.verified) { %><% } %>

<%- x.publishedText %>

<% } %><% if (x.authorIsChannelOwner) { %>

<%- x.author%><% if (x.verified) { %><% } %>

<%- x.publishedText %>

<% } %>

<%- x.contentHtml %>

<% if (x.likeCount === 0) { %> | <% } else { %> <%= convert(x.likeCount) %> | <% } %><% if(x.creatorHeart) { %> <% } %>

<% }) %>
Go To Top
@@ -1597,7 +1595,7 @@ Recommended Videos <% if (!f) { %> -<% k.Video.Recommendations?.Video?.forEach(x => { %>
<% if (!optout) { %><%- x.duration || "LIVE"%><% } %><% if (optout) { %><%- x.duration || "LIVE"%><% } %>
<% if (!optout) { %><%= x.Title %><% } %><% if (optout) { %><%= x.Title %><% } %>
<%=x.Channel.Name %>
<% if (universe) { %><%= x.uploadedAt.replace("Streamed ", " ") %>
<%= convert(x.views) %> views <% } %> <% if (!universe) { %><%= x.uploadedAt.replace("Streamed", " ") %> • <%= convert(x.views) %> views <% } %>
<% }) %><% } %> +<% k.Video.Recommendations?.Video?.forEach(x => { %>
<% if (!optout) { %><%- x.duration || "LIVE"%><% } %><% if (optout) { %><%- x.duration || "LIVE"%><% } %>
<% if (!optout) { %><%= x.Title %><% } %><% if (optout) { %><%= x.Title %><% } %>
<%=x.Channel.Name %>
<% if (universe) { %><%= x.uploadedAt.replace("Streamed ", " ") %>
<%= convert(x.views) %> views <% } %> <% if (!universe) { %><%= x.uploadedAt.replace("Streamed", " ") %> • <%= convert(x.views) %> views <% } %>
<% }) %><% } %> <% if (f) { %> @@ -1670,26 +1668,13 @@ Recommended Videos
<% } %> -
-
-
- Open On YouTubePrivacyGit -
+
+ +
Options got Moved to the icon :3
+
- <% if (optout) { %> - - <% } %> - - <% if (!optout) { %> - -
- - - Opt out of Metrics (Wut?) - -
- <% } %> +
@@ -2088,6 +2073,14 @@ a { .comment-mini:hover { background:#3f3f3f !important; } + + +.avatar > img { + border-radius:50%; + width: 50px; + height: 50px; +} + <% if (Array.isArray( !inv.comments)) { %>