proxy images

This commit is contained in:
Ashley 2022-09-21 09:49:36 +02:00
parent 8cbfba4b6d
commit 51acde568e

View file

@ -123,10 +123,10 @@
<div class="channel-page"> <div class="channel-page">
<div class="channel-info-container"> <div class="channel-info-container">
<img src="<%=j.Channel.Metadata.Banners.Thumbnail[2].$t%>"> <img src="https://p.poketube.fun/<%=j.Channel.Metadata.Banners.Thumbnail[2].$t%>">
<div class="channel-info" > <div class="channel-info" >
<a href="/channel?id=<%=ID%>" class="avatar"> <a href="/channel?id=<%=ID%>" class="avatar">
<img src="<%=j.Channel.Metadata.Avatars.Thumbnail.$t%>" alt="Channel Avatar"> <img src="https://p.poketube.fun/<%=j.Channel.Metadata.Avatars.Thumbnail.$t%>" alt="Channel Avatar">
</a> </a>
<div class="name"> <div class="name">
<p style="font-family:Ginto Nord,sans-serif;font-weight:900;white-space:yes;"><%=j.Channel.Metadata.Name%></p> <p style="font-family:Ginto Nord,sans-serif;font-weight:900;white-space:yes;"><%=j.Channel.Metadata.Name%></p>
@ -160,7 +160,7 @@
<div class="video-grid" > <div class="video-grid" >
<% tj.Channel.Contents.ItemSection.ItemSection.Video.forEach(x => { %> <% tj.Channel.Contents.ItemSection.ItemSection.Video.forEach(x => { %>
<a href="/watch?v=<%- x.id %>" class="video"> <a href="/watch?v=<%- x.id %>" class="video">
<div class="thumbnail" style="background-image: url('https://i.ytimg.com/vi/<%= x.id %>/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLBy_x4UUHLNDZtJtH0PXeQGoRFTgw');border-radius: 10px;"><span class="video-length"><%- x.duration %></span></div> <div class="thumbnail" style="background-image: url('https://p.poketube.fun/https://i.ytimg.com/vi/<%= x.id %>/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLBy_x4UUHLNDZtJtH0PXeQGoRFTgw');border-radius: 10px;"><span class="video-length"><%- x.duration %></span></div>
<div class="info"> <div class="info">
<span class="title max-lines-2" style="font-family:Ginto Nord,sans-serif;"><%- x.Title %></span> <span class="title max-lines-2" style="font-family:Ginto Nord,sans-serif;"><%- x.Title %></span>