hyperaudio / hyperaudio-lite

Hyperaudio Lite - a Super-lightweight Interactive Transcript Player

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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&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>

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.