1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 00:14:39 -05:00

add new lite page :3

This commit is contained in:
Ashley 2023-10-21 09:35:43 +00:00
parent 38de757f54
commit 976deb681f

View file

@ -303,10 +303,12 @@ background: none !important;
<div class="video-player-container">
<video class="player" id="<%=sha384(inv_vid.videoId)%>" style="border-radius: 0px:mrgin-left: -5.5px;" autoplay controls
<video class="player" id="<%=sha384(inv_vid.videoId)%>" style="border-radius: 7px;margin-left: -5.5px;" autoplay controls
poster="https://p.poketube.fun/https://i.ytimg.com/vi/<%=inv_vid.videoId%>/maxresdefault.jpg?v=607ddcd4">
<% if (!qua) { %>
<% if (isvidious) { %>
@ -319,7 +321,24 @@ background: none !important;
<source src="https://tube.kuylar.dev/proxy/media/<%=inv_vid.videoId%>/18" type="video/mp4; codecs=&quot;avc1.64001F, mp4a.40.2&quot;" label="sd360" selected="true">
<% } %>
<% } %>
<% if (qua) { %>
<% if (isvidious) { %>
<source src="<%=u%>/latest_version?id=<%=inv_vid.videoId%>&itag=22&local=true" type="video/mp4; codecs=&quot;avc1.64001F, mp4a.40.2&quot;" label="sd360" selected="true">
<% } %>
<% if (!isvidious) { %>
<source src="https://tube.kuylar.dev/proxy/media/<%=inv_vid.videoId%>/22" type="video/mp4; codecs=&quot;avc1.64001F, mp4a.40.2&quot;" label="sd360" selected="true">
<% } %>
<% } %>
<% if ( video?.Subtitles?.Subtitle) { %>
@ -350,7 +369,7 @@ background: none !important;
<div class="video-info-panel" style="border-radius:0em !important;">
<div class="video-title" style="font-family:Inter;font-weight:bold;line-break: auto;max-width: max-content;margin: 0;margin-bottom: 0;padding: 0;border-radius: 0px !important;" title="<%=inv_vid.title%>"><%=inv_vid.title%> </div>
<a style="font-weight: bolder;font-family: sans-serif;color: #fff;font-size: small;"> <%=convert(engagement.viewCount)%> Views - By <%=k.Video.Channel.Name%></a>
<a style="font-weight: bolder;font-family: sans-serif;color: #fff;font-size: small;"> <%= date %> - <%=convert(engagement.viewCount)%> Views - By <%=k.Video.Channel.Name%></a>
<div>
<div class="video-info-buttons pill" >
@ -372,7 +391,7 @@ background: none !important;
</p>
</div>
<a href="https://tube.kuylar.dev/proxy/media/<%=inv_vid.videoId%>/18" style="text-align: center;font-size: x-large;margin: 9px;">
<a href="/download?v=<%=inv_vid.videoId%>" style="text-align: center;font-size: x-large;margin: 9px;">
<p>
<i class="fa-light fa-download"></i>
@ -398,12 +417,10 @@ background: none !important;
</div>
<div class="video-sub-info description">
<div class="video-sub-info description" style="background: #333;padding: 10px;border-radius: 21px !important;">
<div class="video-title" style="color:#fff;font-family:'PokeTube Flex';font-weight:1000;font-stretch: extra-expanded;margin-top: 3px;margin-bottom: 10px;">Description</div>
<hr style="clear: both;display: block;border: none;border-bottom: 0.5px solid #2f2f2f;/*! width: 4.5em; */height: 0;">
<%=engagement.viewCount.toLocaleString()%> views - <%=date%> <br>
<% if (String(inv_vid.descriptionHtml) != "undefined") { %>
<% if (String(inv_vid.descriptionHtml) != " ") { %>