Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Peertube Support #185

Open
candidexmedia opened this issue Dec 24, 2023 · 2 comments
Open

Feature Request: Peertube Support #185

candidexmedia opened this issue Dec 24, 2023 · 2 comments

Comments

@candidexmedia
Copy link

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&amp;title=0&amp;warningTitle=0&amp;peertubeLink=0" 
    frameborder="0" 
    allowfullscreen="" 
    sandbox="allow-same-origin allow-scripts allow-popups" 
    style="position: absolute; inset: 0px;">
  </iframe>
</div>
@candidexmedia
Copy link
Author

You can view the API playground here: https://diode.zone/videos/test-embed/40f8f830-f265-4a51-9ed2-8c17f89ba170

@maboa
Copy link
Member

maboa commented Dec 27, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants