diff --git a/html/channel.ejs b/html/channel.ejs index b4413a48..e2a112fd 100644 --- a/html/channel.ejs +++ b/html/channel.ejs @@ -1025,7 +1025,7 @@ margin-left: 10px; - + <% if (isMobile) { %> @@ -1042,6 +1042,12 @@ margin-left: 10px; Shorts <% } %> + + <% if (turntomins(stream?.videos[0]?.lengthSeconds) != "aN:aN" ) { %> + Live + + <% } %> + <% if (Array.isArray(c.comments)) { %> @@ -1064,7 +1070,11 @@ margin-left: 10px; Shorts <% } %> - <% } %> + <% } %> <% if (turntomins(stream?.videos[0]?.lengthSeconds) != "aN:aN" ) { %> + Live + + <% } %> + Community <% } %> @@ -1078,6 +1088,11 @@ margin-left: 10px; Shorts <% } %> <% } %> + <% if (turntomins(stream?.videos[0]?.lengthSeconds) != "aN:aN" ) { %> + Live + + <% } %> + Posts <% } %> <% if (tab ==="shorts") { %> @@ -1090,7 +1105,41 @@ margin-left: 10px; Shorts <% } %> <% } %> - Posts + <% if (turntomins(stream?.videos[0]?.lengthSeconds) != "aN:aN" ) { %> + Live + + <% } %> + + <% if (Array.isArray(c.comments)) { %> + + <% if (c.comments.length != "0") { %> + + Posts <% } %> + <% } %> + <% } %> <% } %> + + <% if (tab ==="live") { %> + + Videos + <% if (Array?.isArray(shorts?.videos)) { %> + +<% if (turntomins(shorts?.videos[0]?.lengthSeconds) != "aN:aN" ) { %> + + Shorts + <% } %> + <% } %> + <% if (turntomins(stream?.videos[0]?.lengthSeconds) != "aN:aN" ) { %> + Live + + <% } %> + <% if (Array.isArray(c.comments)) { %> + + <% if (c.comments.length != "0") { %> + + Posts <% } %> + <% } %> + <% } %> + <% } %>