Feature Request: Peertube Support
candidexmedia opened this issue · comments
Hello! Thank you for making this app! I've been looking for something like this for a long time.
I was wondering if it was possible to support Peertube, a decentralized video platform running on the ActivityPub protocol (think YouTube-version of Mastodon).
Peertube's API is documented here: https://docs.joinpeertube.org/api/embed-player
Here's an example of an embed code for this video, hosted on an instance of Peertube called diode.zone:
<div style="position: relative; padding-top: 56.25%;">
<iframe
title="HALiteIntro"
width="100%"
height="100%"
src="https://diode.zone/videos/embed/40f8f830-f265-4a51-9ed2-8c17f89ba170?autoplay=1&title=0&warningTitle=0&peertubeLink=0"
frameborder="0"
allowfullscreen=""
sandbox="allow-same-origin allow-scripts allow-popups"
style="position: absolute; inset: 0px;">
</iframe>
</div>
You can view the API playground here: https://diode.zone/videos/test-embed/40f8f830-f265-4a51-9ed2-8c17f89ba170
Hi – from the information you've kindly provided, this looks possible. You could take a look at how we've supported other players and perhaps submit a pull request, with the relevant changes. Otherwise I'll take a look in the new year.