Update poketube.ejs

This commit is contained in:
Ashley 2022-07-03 00:16:09 +03:00 committed by GitHub
parent 76d345cb66
commit 3e1cdd08de

View file

@ -263,7 +263,7 @@ if you want to change the url - see config in server.js
<div style="font-family:Inter,sans-serif;font-weight:900;white-space:yes;" align="center"> <div style="font-family:Inter,sans-serif;font-weight:900;white-space:yes;" align="center">
<a href="/watch?v=<%=video.id%>&t=f"> <a href="/watch?v=<%=video.id%>&t=f">
Opt out of stats </a> (<a href="/privacy" style="color:#fff">More info</a>) Opt out of Stats </a> (<a href="https://t.poketube.fun" style="color:#fff">More info</a>)
</div> </div>
<% } %> <% } %>
@ -288,11 +288,11 @@ you migth also watch these... (ig?)
<div class="video"> <div class="video">
<% if (!optout) { %> <% if (!optout) { %>
<a href="/watch?v=<%= x.id %>" class="thumbnail" style="background-image: url('https://i.ytimg.com/vi/<%= x.id %>/hqdefault.jpg?sqp=-oaymwEXCNAFEJQDSFryq4qpAwkIARUAAIhCGAE=&amp;rs=AOn4CLBmAOZV7CM3NdDKlEFxGX7PpI5UWQ');border-radius: 10px;" > <span class="video-length"><%=x.duration %></span> <a href="/watch?v=<%= x.id %>" class="thumbnail" style="background-image: url('https://i.ytimg.com/vi/<%= x.id %>/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLBy_x4UUHLNDZtJtH0PXeQGoRFTgw');border-radius: 7.5px;" > <span class="video-length"><%=x.duration %></span>
<% } %> <% } %>
<% if (optout) { %> <% if (optout) { %>
<a href="/watch?v=<%= x.id %>&t=f" class="thumbnail" style="background-image: url('https://i.ytimg.com/vi/<%= x.id %>/hqdefault.jpg?sqp=-oaymwEXCNAFEJQDSFryq4qpAwkIARUAAIhCGAE=&amp;rs=AOn4CLBmAOZV7CM3NdDKlEFxGX7PpI5UWQ');border-radius: 10px;" > <span class="video-length"><%=x.duration %></span> <a href="/watch?v=<%= x.id %>&t=f" class="thumbnail" style="background-image: url('https://i.ytimg.com/vi/<%= x.id %>/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLBy_x4UUHLNDZtJtH0PXeQGoRFTgw');border-radius: 7.5px;" > <span class="video-length"><%=x.duration %></span>
<% } %> <% } %>
</a> </a>
<div class="info"> <div class="info">