Skip to main content

Trending videos

Building the trending videos carousel

The "For you" trending videos carousel is built using Fetching & Paginating most recent data from the previously picked relay with 1 filters JSON:

{"kinds":[1],"#l":[],"#q":[],"search": "post_feed:trending_videos"}
note

post_feed:trending_videos is a custom search extension exclusive to our platform

warning

TODO: Determine how to decide when to display all-in-portret or all-in-landscape. Is it something the client requests or is it a side effect the relay returns if some condition is met?

Each event is displayed using the common approach.