Update poketube.ejs

This commit is contained in:
Ashley 2022-06-23 18:38:07 +03:00 committed by GitHub
parent e2a241368b
commit 1500b39acc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,11 +36,11 @@
<link href="https://poketube.fun/watch?v=<%=video.id%>" itemprop=url> <link href="https://poketube.fun/watch?v=<%=video.id%>" itemprop=url>
<link href="http://www.youtube.com/channel/<%=video.Channel.id%>" itemprop=url> <link href="http://www.youtube.com/channel/<%=video.Channel.id%>" itemprop=url>
<% } %> <!-- close the } --> <% } %> <!-- close the } -->
<link href="//vjs.zencdn.net/7.10.2/video-js.min.css" rel="stylesheet">
<link href=/css/yt-ukraine.svg rel=icon>
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE"> <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"> <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
<META HTTP-EQUIV="EXPIRES" CONTENT="Mon, 22 Jun 2002 11:12:01 GMT"> <META HTTP-EQUIV="EXPIRES" CONTENT="Mon, 22 Jun 2002 11:12:01 GMT">
<link href="//vjs.zencdn.net/7.10.2/video-js.min.css" rel="stylesheet">
<link href=/css/yt-ukraine.svg rel=icon>
<title> <%=video.Title%> - PokeTube</title> <title> <%=video.Title%> - PokeTube</title>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap" rel=stylesheet> <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap" rel=stylesheet>
<link href=/css/app-cdn.min.css rel=stylesheet> <link href=/css/app-cdn.min.css rel=stylesheet>
@ -192,9 +192,9 @@ summary:hover{
<div class="video-info"> <div class="video-info">
<div class="video-title" style="font-family:Inter,sans-serif;font-weight:900;white-space:yes;"><%=video.Title%></div> <div class="video-title" style="font-family:Inter,sans-serif;font-weight:900;white-space:yes;"><%=video.Title%></div>
<p class="video-sub-info description"> <p class="video-sub-info description">
<span><%=engagement.viewCount.toLocaleString()%> views - Uploaded by <a href="/channel?id=<%=video.Channel.id%>" style=color:#fff> <span><%=engagement.viewCount.toLocaleString()%> views - Uploaded on <%=date%> - Uploaded by <a href="/channel?id=<%=video.Channel.id%>" style=color:#fff>
<%=video.Channel.Name%> <%=video.Channel.Name%> </a>
</a></span> <br><br> <%-String(video.Description).replace(/\n/g, " <br> ")%></center> </span> <br><br> <%-String(video.Description).replace(/\n/g, " <br> ")%></center>
</p> </p>
<div class="video-info-buttons"> <div class="video-info-buttons">
<div> <div>
@ -220,23 +220,26 @@ summary:hover{
</div> </div>
</div> </div>
<div class="channel-info__bordered">
<!-- IGNORE THIS DIV PLEASE --> <a href="/channel?id=<%=video.Channel.id%>" class="avatar">
<img src=" <%= k.Video.Channel.Avatar[1].$t %>">
<div class="channel-info__bordered" style="display:none;">
<a href="/" class="avatar">
<img src="">
</a> </a>
<div class="name"> <div class="name">
<a href=""></a> <a href="/channel?id=<%=video.Channel.id%>" > <%=video.Channel.Name%></a>
</div> </div>
<div class="subscriber-count"> <div class="subscriber-count">
<%= k.Video.Channel.subscriberCount %>
</div> </div>
<button class="subscribe-button" >Subscribe</button> <button class="subscribe-button" ><a style="color:#fff" href="https://www.youtube.com/channel/<%=video.Channel.id%>?view_as=subscriber?sub_confirmation=1">Subscribe</a></button>
</div> </div>
</div> </div>
<div class="recommended-list" style="backgorund-color:#181818"> <div class="recommended-list" style="backgorund-color:#181818">
<div style="font-family:Inter,sans-serif;font-weight:900;white-space:yes;">
<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>
<% 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> Ayo u are lucy! this music video has lyrics! wanna see em? <a href="/watch?v=<%=video.id%>&r=f">Click this!</a>
<% } %> <% } %>
@ -244,7 +247,7 @@ summary:hover{
<p style="font-family:Inter,sans-serif;font-weight:900;white-space:yes;"> <p style="font-family:Inter,sans-serif;font-weight:900;white-space:yes;">
you migth also watch these... (ig?) 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">
<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')" > <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=&amp;rs=AOn4CLBmAOZV7CM3NdDKlEFxGX7PpI5UWQ')" > <span class="video-length"><%=x.duration %></span>
</a> </a>
@ -254,7 +257,6 @@ you migth also watch these... (ig?)
<a href="/channel?id=<%= x.Channel.id %>">By <%=x.Channel.Name %></a> <a href="/channel?id=<%= x.Channel.id %>">By <%=x.Channel.Name %></a>
<div> <div>
<a href="/watch?v=<%= x.id %>"><span><%= x.views %> views</span> <span>•</span> <span><%= x.uploadedAt %></span></a> <a href="/watch?v=<%= x.id %>"><span><%= x.views %> views</span> <span>•</span> <span><%= x.uploadedAt %></span></a>
</div> </div>
</div> </div>
</div> </div>