Hi. I want to embed a random videos from peertube on my website. The problem is, is it possible to get random videos from a peertube instance? Maybe anyone can give me some ideas. Thanks
Hello,
You can use the peertube REST API to list videos: PeerTube
So:
- A first call to know how total videos there are
- Another call with
start=x&count=1
to fetch the appropriate video UUID (x
between0
andtotal
videos)
2 Likes