mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 19:18:08 +01:00
Update poketube.ejs
This commit is contained in:
parent
58b861741d
commit
c0c4d579bf
1 changed files with 50 additions and 11 deletions
|
@ -204,6 +204,7 @@ summary:hover{
|
||||||
<i class="fas fa-download"></i>
|
<i class="fas fa-download"></i>
|
||||||
Download
|
Download
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
|
||||||
<a style="color:#fff" href="/old/watch?v=<%=video.id%>">
|
<a style="color:#fff" href="/old/watch?v=<%=video.id%>">
|
||||||
<i class="fas fa-history"></i>
|
<i class="fas fa-history"></i>
|
||||||
|
@ -232,7 +233,12 @@ summary:hover{
|
||||||
|
|
||||||
<div class="recommended-list" style="background-color:#1c1c1c;border-radius:25px;margin: 10px;">
|
<div class="recommended-list" style="background-color:#1c1c1c;border-radius:25px;margin: 10px;">
|
||||||
|
|
||||||
<!-- this allows us to see how much poketube users watched this video,we dont collect your ip or any of your personal information while making this. we dont collect or share your personal information as we said on our privacy policy:https://poketube.fun/privacy
|
|
||||||
|
<% if (optout) { %>
|
||||||
|
|
||||||
|
<% } %>
|
||||||
|
<% if (!optout) { %>
|
||||||
|
<!-- this allows us to see how much poketube users watched this video,we dont collect your ip or any of your personal information while making this. we dont collect or share your personal information as we said on our privacy policy:https://poketube.fun/privacy
|
||||||
|
|
||||||
this process does not use cookies,and it does not collect any information whatsoever execpt how many users watched this spesific video
|
this process does not use cookies,and it does not collect any information whatsoever execpt how many users watched this spesific video
|
||||||
|
|
||||||
|
@ -242,20 +248,38 @@ we dont collect or share your personal infromation,period.
|
||||||
|
|
||||||
if you want to change the url - see config in server.js
|
if you want to change the url - see config in server.js
|
||||||
-->
|
-->
|
||||||
|
<img src="<%=t%>t/rep.gif?video_id=<%=video.id%>" style="width: 0;visibility: hidden;">
|
||||||
<img src="<%=t%>t/rep.gif?video_id=<%=video.id%>" style="width: 0;visibility: hidden;">
|
<% } %>
|
||||||
|
|
||||||
<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="https://youtube.com/watch?v=<%=video.id%>">Open On YouTube</a> • <a href="/privacy">Privacy</a> • <a href="https://github.com/iamashley0/poketube/">Git</a>
|
<a href="https://youtube.com/watch?v=<%=video.id%>">Open On YouTube</a> • <a href="/privacy">Privacy</a> • <a href="https://github.com/iamashley0/poketube/">Git</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<% if (optout) { %>
|
||||||
|
|
||||||
|
<% } %>
|
||||||
|
|
||||||
|
<% if (!optout) { %>
|
||||||
|
|
||||||
|
<div style="font-family:Inter,sans-serif;font-weight:900;white-space:yes;" align="center">
|
||||||
|
|
||||||
|
<a href="/watch?v=<%=video.id%>&t=f">
|
||||||
|
Opt out of stats </a> ( more info:<a href="/privacy">P.p</a>)
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<% } %>
|
||||||
|
|
||||||
<% if (lyrics && !r) { %>
|
<% if (lyrics && !r) { %>
|
||||||
Ayo u are lucy! this music video has lyrics! wanna see em? <a href="/watch?v=<%=video.id%>&r=f">Click this!</a>
|
|
||||||
|
<% if (optout) { %>
|
||||||
|
Ayo u are lucy! this music video has lyrics! wanna see em? <a href="/watch?v=<%=video.id%>&r=f&t=f">Click this!</a>
|
||||||
|
|
||||||
|
<% } %>
|
||||||
|
<% if (!optout) { %>
|
||||||
|
Ayo u are lucy! this music video has lyrics! wanna see em? <a href="/watch?v=<%=video.id%>&r=f">Click this!</a>
|
||||||
|
|
||||||
|
<% } %>
|
||||||
|
|
||||||
<% } %>
|
<% } %>
|
||||||
<% if (!r) { %>
|
<% if (!r) { %>
|
||||||
<p style="font-family:Inter,sans-serif;font-weight:900;white-space:yes;" align="center">
|
<p style="font-family:Inter,sans-serif;font-weight:900;white-space:yes;" align="center">
|
||||||
|
@ -263,10 +287,25 @@ you migth also watch these... (ig?)
|
||||||
</p>
|
</p>
|
||||||
<% k.Video.Recommendations.Video.forEach(x => { %>
|
<% k.Video.Recommendations.Video.forEach(x => { %>
|
||||||
<div class="video">
|
<div class="video">
|
||||||
|
<% 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=&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=-oaymwEXCNAFEJQDSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLBmAOZV7CM3NdDKlEFxGX7PpI5UWQ');border-radius: 10px;" > <span class="video-length"><%=x.duration %></span>
|
||||||
|
<% } %>
|
||||||
|
<% 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=&rs=AOn4CLBmAOZV7CM3NdDKlEFxGX7PpI5UWQ');border-radius: 10px;" > <span class="video-length"><%=x.duration %></span>
|
||||||
|
<% } %>
|
||||||
</a>
|
</a>
|
||||||
<div class="info">
|
<div class="info">
|
||||||
|
|
||||||
|
<% if (!optout) { %>
|
||||||
|
|
||||||
<a href="/watch?v=<%= x.id %>" class="title max-lines-2"><%= x.Title %></a>
|
<a href="/watch?v=<%= x.id %>" class="title max-lines-2"><%= x.Title %></a>
|
||||||
|
<% } %>
|
||||||
|
<% if (optout) { %>
|
||||||
|
<a href="/watch?v=<%= x.id %>&t=f" class="title max-lines-2"><%= x.Title %></a>
|
||||||
|
<% } %>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<a class="max-lines-2" href="/channel?id=<%= x.Channel.id %>"><%=x.Channel.Name %></a>
|
<a class="max-lines-2" href="/channel?id=<%= x.Channel.id %>"><%=x.Channel.Name %></a>
|
||||||
<div>
|
<div>
|
||||||
|
|
Loading…
Reference in a new issue