Update and rename po.ejs to poketube.ejs

This commit is contained in:
Ashley 2022-06-04 19:36:54 +03:00 committed by GitHub
parent a6314ddbbc
commit b86e774722
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,17 +24,17 @@
<meta content="<%=video.Title%>" name=title>
<meta content="<%=color%>" name="theme-color">
<meta content=player name=twitter:card>
<meta content="<%=title.Channel.Name%>" name=twitter:description>
<meta content="<%=video.Channel.Name%>" name=twitter:description>
<meta content=@youtube name=twitter:site>
<meta content="https://poketalebot.com/youtube/watch?v=<%=title.id%>" name=twitter:url>
<meta content="https://poketube.fun/watch?v=<%=video.id%>" name=twitter:url>
<meta content="<%=video.Title%>" name=twitter:title>
<meta content="https://i.ytimg.com/vi/<%=title.id%>/maxresdefault.jpg" name=twitter:image>
<meta content="https://www.youtube.com/embed/<%=title.id%>" name=twitter:player>
<meta content="https://i.ytimg.com/vi/<%=video.id%>/maxresdefault.jpg" name=twitter:image>
<meta content="https://www.youtube.com/embed/<%=video.id%>" name=twitter:player>
<meta content=1280 name=twitter:player:width>
<meta content="Poketube is a private youtube player thats focusted on privacy. No javascript needed!" property=twitter:description>
<meta content=720 name=twitter:player:height>
<link href="https://poketalebot.com/youtube/watch?v=<%=title.id%>" itemprop=url>
<link href="http://www.youtube.com/channel/<%=title.Channel.id%>" itemprop=url>
<link "https://poketube.fun/watch?v=<%=video.id%>" itemprop=url>
<link href="http://www.youtube.com/channel/<%=video.Channel.id%>" itemprop=url>
<% } %> <!-- close the } -->
<link href="//vjs.zencdn.net/7.10.2/video-js.min.css" rel="stylesheet">
<link href=/css/yt-ukraine.svg rel=icon>
@ -53,6 +53,11 @@
summary:hover{
color:red;
}
h1{
background-image: linear-gradient(to left, violet, blue, orange, red);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
</style>
<!-- WIGGLE WIGGLE WIGGLE -->
<style>
@ -118,7 +123,7 @@ summary:hover{
<link href=https://pro.fontawesome.com/releases/v5.15.3/css/all.css rel=stylesheet>
<center>
<nav>
<div class=left><a class="class" href="https://stopwarukraine.com/" style=font-family:Inter,sans-serif;color:#fff><span><i class="fa-youtube fab" style=color:#fff></i></span><span style="color:#c9e265">PokeTube</span> 🇺🇦 </a> <a href="/domains"><i class="fas fa-server"></i><a href="https://search.poketalebot.com"><i class="fas fa-search"></i> </a></div>
<div class=left><a class="class" href="/143" style=font-family:Inter,sans-serif;color:#fff><span><i class="fa-youtube fab" style="text-decoration:inherit;background:linear-gradient(to right,blue,pink);-webkit-text-fill-color:transparent;-webkit-background-clip:text;"></i></span><span style="background-image: linear-gradient(to left,purple,#000080);-webkit-background-clip: text;-webkit-text-fill-color: transparent;">PokeTube</span> 🇺🇦 </a> <a href="/domains"><i class="fas fa-server"></i><a href="https://search.poketalebot.com"><i class="fas fa-search"></i> </a></div>
<div class=middle>
<form action=/api/search><input class=search-bar autocomplete="on" id=fname name=query style="color:#fff;font-family:Inter,sans-serif;"> <button class="btn btn-success" type=submit><i class="fas fa-search"></i></button></form>
</div>
@ -134,8 +139,8 @@ summary:hover{
<br></center><hr>
<center>
<h1 style="font-family:Inter,sans-serif;font-weight:900;white-space:yes;font-size:65"><b> <%=video.Title%> </b></h1>
<a href="/channel?id=<%=title.Channel.id%>" style=color:#fff>
<%=title.Channel.Name%>
<a href="/channel?id=<%=video.Channel.id%>" style=color:#fff>
<%=video.Channel.Name%>
</a>
</center>
<hr>
@ -157,10 +162,10 @@ summary:hover{
<hr>
<h1 style="color:#fff;font-family:Inter,sans-serif;font-weight:700;white-space:yes;"> Description</h1>
<center>
<% if (title.Description) { %>
<% if (video.Description) { %>
<p style=color:#fff>
<%-String(title.Description).replace(/\n/g, " <br> ")%></center>
<%-String(video.Description).replace(/\n/g, " <br> ")%></center>
</p> </details>
<% } %>