From a26e96f86848c9a1a35e26f376b713f84ded4de5 Mon Sep 17 00:00:00 2001 From: Ashley Date: Mon, 21 Feb 2022 22:29:28 +0300 Subject: [PATCH] add lyrics summary --- html/youtube.ejs | 126 +++++++++++++++++------------------------------ 1 file changed, 45 insertions(+), 81 deletions(-) diff --git a/html/youtube.ejs b/html/youtube.ejs index f881017b..28d3d0a1 100644 --- a/html/youtube.ejs +++ b/html/youtube.ejs @@ -1,8 +1,8 @@ - - + + <%=video.title%> - PokeTube - + @@ -11,112 +11,76 @@ - + - + +
- - - - - + +
- - -
-
+
+
-
+
-
- - -
-
- + +
-

- - <%=video.title%> - -

- +

<%=video.title%>

+
<%=title.channel.name%>

-
-

<%=date%>| <%=video.engagement.views.toLocaleString()%> Views| <%=video.engagement.likes.toLocaleString()%> - <%=video.engagement.dislikes.toLocaleString()%>

-

Youtube wont know you are whatching this video (also your fbi guy wont know too)

-
- - <% if (lyrics) { %> -

Lyrics

-

- <%-lyrics%> -

- <% } %> - <% if (!lyrics) { %> -

Description

- -
-

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

-
- <% } %> -

- - + <%=video.engagement.dislikes.toLocaleString()%>
+

Youtube wont know you are whatching this video (also your fbi guy wont know too)

+
+

Description

+
+

+ <%-title.description.replace(/\n/g, "
")%>

+ <% if (lyrics) { %> +

+ +
+

Lyrics +

See Lyrics by clicking here

+

+

+ <%-lyrics%> +

+ <% } %> +
-
- -