cool stuff

This commit is contained in:
Ashley 2022-08-19 11:06:24 +02:00
parent a396fd8ab3
commit e3a19e57d7

View file

@ -29,14 +29,14 @@
<meta content=@youtube name=twitter:site> <meta content=@youtube name=twitter:site>
<meta content="https://poketube.fun/watch?v=<%=video.id%>" name=twitter:url> <meta content="https://poketube.fun/watch?v=<%=video.id%>" name=twitter:url>
<meta content="<%=video.Title%> - PokeTube" name=twitter:title> <meta content="<%=video.Title%> - PokeTube" name=twitter:title>
<meta content="Listen to this Song by <%=info.artist%> On PokeTube Music. The YouTube Music front-end that doesnt track you!" property=twitter:description> <meta content="Listen to this Song by <%=info.artist%> On PokeTube Music!" property=twitter:description>
<meta content="https://i.ytimg.com/vi/<%=video.id%>/maxresdefault.jpg" property=og:image> <meta content="<%=info.artwork%>" property=og:image>
<meta content=summary_large_image name=twitter:card> <meta content=summary_large_image name=twitter:card>
<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=/css/yt-ukraine.svg?v=6 rel=icon> <link href=/css/yt-ukraine.svg?v=6 rel=icon>
<title> <%=video.Title%> - PokeTube Music like very beta ( no shit sherlock ) </title> <title> <%=info.artist%> - <%=info.title%></title>
<link href="https://p.poketube.fun/https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap" rel=stylesheet> <link href="https://p.poketube.fun/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>
<link href=/css/app.main.css rel=stylesheet> <link href=/css/app.main.css rel=stylesheet>
@ -198,6 +198,9 @@ html, body {
margin:24px; margin:24px;
margin-left:auto; margin-left:auto;
} }
img{
pointer-events:none;
}
.downnav{ .downnav{
position: fixed; position: fixed;
bottom: 0; bottom: 0;
@ -255,19 +258,30 @@ pointer-events:none;
<div class="align"> <div class="align">
<img class="img" src="<%=info.artwork%>"/> <img class="img" src="<%=info.artwork%>"/>
<div class="info"> <div class="info">
<div class="video-title center" style="font-family:Ginto Nord;font-weight:900;white-space:yes;text-align: left;"> <div class="video-title center" style="font-family:Ginto Nord;font-weight:900;white-space:yes;text-align: left;">
<%=info.title%></div> <%=info.title%></div>
<div class="video-title center" style="font-family:Inter;font-weight:900;white-space:yes;text-align: left;"> <%=info.artist%> <div class="video-title center" style="font-family:Inter;font-weight:900;white-space:yes;text-align: left;"> <%=info.artist%>
</div> </div>
<div style="margin-top: 7px;"> <div style="margin-top: 7px;">
<i class="fa-solid fa-heart"></i> <%=engagement.likes.toLocaleString()%> <i class="fa-solid fa-heart"></i> <%=engagement.likes.toLocaleString()%>
</div>
</div> <div>
<i class="fas fa-shield-alt"></i><a style="color:#fff" href="/encryption?v=<%=video.id%>"> Encryption </a>
</div>
<div>
<a style="color:#fff" href="/download?v=<%=video.id%>">
<i class="fa-light fa-download"></i>
Download
</a>
</div>
</div> </div>
<div style="position: fixed;bottom: 0;right: 0;margin: 67px;"> <div style="position: fixed;bottom: 0;right: 0;margin: 67px;">
Powered By <img src="/css/apple.svg"> <p style="margin:0;">
</div> Powered By
</p> <img src="/css/apple.svg">
</div>
<div class="downnav"> <div class="downnav">
<audio class="player" id="<%=sha384(video.id)%>" autoplay controls src="https://p.poketube.fun/<%=url%>" poster="https://p.poketube.fun/https://i.ytimg.com/vi/<%=video.id%>/hqdefault.jpg?v=607ddcd4"> <audio class="player" id="<%=sha384(video.id)%>" autoplay controls src="https://p.poketube.fun/<%=url%>" poster="https://p.poketube.fun/https://i.ytimg.com/vi/<%=video.id%>/hqdefault.jpg?v=607ddcd4">
</audio> </audio>