personal peertube plugin for grayjay
Find a file
2023-11-02 12:46:48 -04:00
.gitlab-ci.yml Update .gitlab-ci.yml 2023-09-12 07:08:04 +00:00
autocomplete.js Initial commit. 2023-08-10 11:36:29 +02:00
deploy.sh Added code signing. 2023-09-28 11:26:47 +02:00
icon.png fix 2023-11-02 12:42:47 -04:00
index.html index changes 2023-11-02 12:46:48 -04:00
LICENSE Add LICENSE 2023-09-26 14:18:36 +00:00
peertube.png Initial commit. 2023-08-10 11:36:29 +02:00
PeerTubeConfig.json some updates 2023-11-02 12:42:36 -04:00
PeerTubeScript.js fix 2023-11-02 12:42:47 -04:00
readme.md fix 2023-11-02 12:42:47 -04:00
sign.sh Added code signing. 2023-09-28 11:26:47 +02:00

Grayjay PeerTube Plugin for Libre Solutions Network

Hopefully this specific plugin will be unnecessary. I forked the official peertube plugin because as it currently exists, it doesn't properly load videos from remote instances.

My solution isn't very elegant, I'm not familiar with typescript, but this plugin will allow you to browse videos within the network for the Libre Solutions Network PeerTube

Changes made:

  • Changing from trending peertube videos to most recent

  • Setting the baseURL to peertube.libresolutions.network

  • To allow remote videos to load, i had to hardcode getVideoPager url parameter with: url: "https://peertube.libresolutions.network"+ v.url.substring(v.url.search("/videos/")),

    Why? Because when the peertube plugin loads a remote video it throws an error No source enabled to support url Meaning that you would need to install the peertube plug-in for every instance within your network.

    Thankfully peertube seamlessly handles links to remote videos when you replace it with your instance url.

Outstanding issues

  • I would prefer to pull the baseURL parameter properly, but I had trouble making that work and decided to just hardcode it.
  • I have no idea how/if this will impact casting, but hope to test that soon.
  • I need to properly sign the plugin

Plugin Documentation