mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 19:58:00 +01:00
add new proxy :3
This commit is contained in:
parent
03f4990469
commit
09535024a0
1 changed files with 5 additions and 2 deletions
|
@ -402,6 +402,8 @@ video[counter].classList.add("shake");
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="channel-page" style="background-color: var(--channel-contents-background);">
|
<div class="channel-page" style="background-color: var(--channel-contents-background);">
|
||||||
|
<div class="search-options">
|
||||||
|
|
||||||
<div id="filters">
|
<div id="filters">
|
||||||
<details id="filters-collapse"> <summary>Filters</summary>
|
<details id="filters-collapse"> <summary>Filters</summary>
|
||||||
<div id="filters-box"><form action="/search" method="get">
|
<div id="filters-box"><form action="/search" method="get">
|
||||||
|
@ -464,7 +466,8 @@ Videos
|
||||||
Web </a>
|
Web </a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<% if (!tab) { %>
|
<% if (!tab) { %>
|
||||||
|
|
||||||
<% invresults.forEach (x => { %>
|
<% invresults.forEach (x => { %>
|
||||||
|
@ -474,7 +477,7 @@ Web </a>
|
||||||
<a
|
<a
|
||||||
href="/watch?v=<%= x.videoId %>"
|
href="/watch?v=<%= x.videoId %>"
|
||||||
class="thumbnail"
|
class="thumbnail"
|
||||||
style="background-image: url('/vi/<%= x.videoId %>/hqdefault.jpg?sqp=-oaymwEXCNAFEJQDSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLBmAOZV7CM3NdDKlEFxGX7PpI5UWQ');border-radius: 10px;"
|
style="background-image: url('<%- media_proxy_url %>/proxy?url=https://vid.puffyan.us/vi/<%= x.videoId %>/hqdefault.jpg?sqp=-oaymwEXCNAFEJQDSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLBmAOZV7CM3NdDKlEFxGX7PpI5UWQ');border-radius: 10px;"
|
||||||
><span class="video-length"><%=turntomins(x.lengthSeconds) %></span></a>
|
><span class="video-length"><%=turntomins(x.lengthSeconds) %></span></a>
|
||||||
<div class="info" style="color:#fff;text-align: left;font-weight: 1000;">
|
<div class="info" style="color:#fff;text-align: left;font-weight: 1000;">
|
||||||
<a style="font-family: 'PokeTube Flex';font-size: large;text-align: left;font-stretch: extra-expanded;
|
<a style="font-family: 'PokeTube Flex';font-size: large;text-align: left;font-stretch: extra-expanded;
|
||||||
|
|
Loading…
Reference in a new issue