mirror of
				https://codeberg.org/ashley/poke
				synced 2025-07-17 16:52:11 +00:00 
			
		
		
		
	add new channels (see: https://github.com/iv-org/invidious/pull/4241)
This commit is contained in:
		
							parent
							
								
									91aa247716
								
							
						
					
					
						commit
						97cd69acd0
					
				| @ -553,8 +553,8 @@ margin-right: -79px; | ||||
|           <img src="https://p.poketube.fun/<%=j.Channel?.Metadata.Banners.Thumbnail[2].$t%>"> | ||||
|                                <% } %> | ||||
| 		<div class="channel-info" > | ||||
| 			<a href="https://p.poketube.fun/<%=j.Channel?.Metadata.Avatars.Thumbnail?.$t%>" class="avatar"> | ||||
| 				<img src="https://p.poketube.fun/<%=j.Channel?.Metadata.Avatars.Thumbnail?.$t%>" alt="Channel Avatar"> | ||||
| 			<a href="/avatars/<%=j.Channel?.Metadata.Avatars.Thumbnail?.$t.replace("https://yt3.ggpht.com/", "")%> class="avatar"> | ||||
| 				<img src="/avatars/<%=j.Channel?.Metadata.Avatars.Thumbnail?.$t.replace("https://yt3.ggpht.com/", "")%>" alt="Channel Avatar"> | ||||
| 			</a> | ||||
|        | ||||
|               <% if (cinv?.authorVerified) { %> | ||||
| @ -594,7 +594,7 @@ margin-right: -79px; | ||||
| <p style="padding:0;font-weight:bold;max-inline-size: 37em;display: -webkit-box;-webkit-line-clamp: 3;-webkit-box-orient: vertical;">  | ||||
|   | ||||
| <% try { %> | ||||
|   <%- getFirstLine(desc).slice(0, 60) %> | ||||
|   <%- getFirstLine(cinv.description).slice(0, 60) %> | ||||
|   <a href="/channel?id=<%= ID %>&tab=about"> | ||||
| <% } catch (error) { %> | ||||
|   <!-- Handle the error here, if it occurs --> | ||||
| @ -808,7 +808,7 @@ width: fit-content; | ||||
|         </p> | ||||
|  			</div> | ||||
|       <p style="padding:0;font-weight:bold;">  | ||||
|    <%-getFirstLine(desc)%> <a href="/channel?id=<%=ID%>&tab=about"> | ||||
|    <%-getFirstLine(cinv.description)%> <a href="/channel?id=<%=ID%>&tab=about"> | ||||
| <i class="fa-thin fa-angle-right"></i></a> | ||||
|         </p> | ||||
|          <a href="/feeds/videos.xml?channel_id=<%=ID%>"><button class="subscribe-button">Rss feed</button> | ||||
| @ -1019,7 +1019,7 @@ width: fit-content; | ||||
| 
 | ||||
|    <% tj.videos.forEach (x =>  { %> | ||||
| 			<a href="/watch?v=<%- x.videoId %>" class="video"> | ||||
| 				<div class="thumbnail" style="background-image: url('https://p.poketube.fun/https://i.ytimg.com/vi/<%= x.videoId %>/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLBy_x4UUHLNDZtJtH0PXeQGoRFTgw');border-radius: 10px;"><span class="video-length"><%- turntomins(x.lengthSeconds) %></span></div> | ||||
| 				<div class="thumbnail" style="background-image: url('/vi/<%= x.videoId %>/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLBy_x4UUHLNDZtJtH0PXeQGoRFTgw');border-radius: 10px;"><span class="video-length"><%- turntomins(x.lengthSeconds) %></span></div> | ||||
| 				<div class="info"> | ||||
| 					<span class="title max-lines-2" style="font-family:PokeTube flex,sans-serif;font-weight: 1000;font-stretch: ultra-expanded;"><%- x.title %></span> | ||||
| 			  | ||||
| @ -1067,7 +1067,7 @@ margin-left: 8em;" > | ||||
|    <% shorts.videos.forEach (x =>  { %> | ||||
|       | ||||
| 			<a href="/shorts/<%- x.videoId %>" class="s" > | ||||
| 				<img load="lazy" src='https://p.poketube.fun/https://i.ytimg.com/vi/<%= x.videoId %>/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLBy_x4UUHLNDZtJtH0PXeQGoRFTgw' style="border-radius: 10px;width: 31em;object-fit: cover;aspect-ratio: 19/9;height: 20em;object-position: 101% 51%;clip-path: inset(2px 139px);"> | ||||
| 				<img load="lazy" src='/vi/<%= x.videoId %>/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLBy_x4UUHLNDZtJtH0PXeQGoRFTgw' style="border-radius: 10px;width: 31em;object-fit: cover;aspect-ratio: 19/9;height: 20em;object-position: 101% 51%;clip-path: inset(2px 139px);"> | ||||
|            | ||||
|            | ||||
|            | ||||
| @ -1142,7 +1142,7 @@ margin-left: 8em;" > | ||||
| 
 | ||||
|    <% stream.videos.forEach (x =>  { %> | ||||
| 			<a href="/watch?v=<%- x.videoId %>" class="video"> | ||||
| 				<div class="thumbnail" style="background-image: url('https://p.poketube.fun/https://i.ytimg.com/vi/<%= x.videoId %>/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLBy_x4UUHLNDZtJtH0PXeQGoRFTgw');border-radius: 10px;"><span class="video-length"><%- turntomins(x.lengthSeconds) %></span></div> | ||||
| 				<div class="thumbnail" style="background-image: url('/vi/<%= x.videoId %>/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLBy_x4UUHLNDZtJtH0PXeQGoRFTgw');border-radius: 10px;"><span class="video-length"><%- turntomins(x.lengthSeconds) %></span></div> | ||||
| 				<div class="info"> | ||||
| 					<span class="title max-lines-2" style="font-family:PokeTube flex,sans-serif;font-weight: 1000;font-stretch: ultra-expanded;"><%- x.title %></span> | ||||
| 			  | ||||
| @ -1218,7 +1218,7 @@ margin-left: 8em;" > | ||||
| <video class="player"  style="border-radius: 16px; | ||||
| "  controls    | ||||
|         | ||||
|        poster="https://p.poketube.fun/https://i.ytimg.com/vi/<%=x.attachment.videoId%>/maxresdefault.jpg?v=607ddcd4"> | ||||
|        poster="/vi/<%=x.attachment.videoId%>/maxresdefault.jpg?v=607ddcd4"> | ||||
|          | ||||
|                             | ||||
|                                                 <source src="https://tube.kuylar.dev/proxy/media/<%=x.attachment.videoId%>/22" type="video/mp4; codecs="avc1.64001F, mp4a.40.2"" label="hd720" selected="false"> | ||||
| @ -1257,7 +1257,7 @@ margin-left: 8em;" > | ||||
| 
 | ||||
|      <% if (desc) { %> | ||||
| 
 | ||||
|  <p style="color:#fff;margin-left: 10px;font-weight: bold;"><%-desc.replace(/\n/g, " <br> ")%></p> | ||||
|  <p style="color:#fff;margin-left: 10px;font-weight: bold;"><%-cinv.descriptionHtml%></p> | ||||
|   <% } %> | ||||
|           <% if (wiki.extract_html) { %>  | ||||
|                      <h3 style="color:#fff;font-family:Ginto Nord,sans-serif;font-weight:900;padding: 0px;margin: 0;margin-top: 7px;margin-left: 10px;">From the web</h3> | ||||
| @ -1282,13 +1282,7 @@ margin-left: 8em;" > | ||||
|                      </p> | ||||
|                      <% } %>    | ||||
|                        <div style="font-weight: bold;color:#fff;margin-left: 10px;"> | ||||
|      <% if (about.Location != "[object Object]")  { %> | ||||
| <p style="margin: 0px;margin-top: 2.5px;font-weight: bold;"><i class="fa-light fa-earth-americas"></i> <%- about.Location%>   </p> | ||||
|                        <% } %>    | ||||
| 
 | ||||
| <p style="margin: 0px;margin-top: 2.5px;font-weight: bold;"><i class="fa-light fa-circle-info"></i>  <%- about.Joined%> </p> | ||||
| <p style="margin: 0px;margin-top: 2.5px;font-weight: bold;">   <i class="fa-light fa-arrow-trend-up"></i> <%- about.ViewCount%>   </p> | ||||
| 
 | ||||
|     YouTube removed the about tab ;_; fix for this soon lol | ||||
|   </div> | ||||
|                        </div> | ||||
|    <% } %> | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Ashley
						Ashley