diff --git a/html/poketube.ejs b/html/poketube.ejs index 0080ad63..c295d00f 100644 --- a/html/poketube.ejs +++ b/html/poketube.ejs @@ -464,13 +464,38 @@ display: block;" autoplay controls <% } %> - + + + <% if (inv.comments) { %> + + + <% } %> + + <% if (inv.comments.length > 8 ) { %> + +
+ <% inv.comments.slice(-8).forEach(x =>{ %> + + <%- x.contentHtml %> + + + + <% }) %> + <% } %> + +
+
Video id : <%=video.id%>
ImmersiveAmbientModecolor: <% if (lightOrDark(color) == "light") { %><%=color%> (color 1)<% } %><% if (lightOrDark(color) == "dark") { %> <%=color2%> (color 2) <% } %>