mirror of
				https://codeberg.org/ashley/poke
				synced 2025-07-17 16:52:11 +00:00 
			
		
		
		
	use ChannelFirstVideoObject
This commit is contained in:
		
							parent
							
								
									d4a7a2cded
								
							
						
					
					
						commit
						cd9786f699
					
				| @ -321,11 +321,17 @@ module.exports = function (app, config, renderTemplate) { | ||||
|      } | ||||
|     } | ||||
| 
 | ||||
|    const ChannelFirstVideoObject = await fetch( | ||||
|         `${config.invapi}/videos/${tj.videos[0].videoId}` | ||||
|       ) | ||||
|         .then((res) => res.text()) | ||||
|         .then((txt) => getJson(txt)); | ||||
| 
 | ||||
|       renderTemplate(res, req, "channel.ejs", { | ||||
|         ID, | ||||
|         tab, | ||||
|         shorts, | ||||
|         firstVideo:tj.videos[0], | ||||
|         firstVideo:ChannelFirstVideoObject, | ||||
|         j: boutJson, | ||||
|         sort: sort_by, | ||||
|         stream, | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 ashley
						ashley