personal peertube plugin for grayjay
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Gabriel 7456fcdd25 fix whitelist 6 months ago
.gitlab-ci.yml Update .gitlab-ci.yml 8 months ago
LICENSE Add LICENSE 7 months ago
PeerTubeConfig.json fix whitelist 6 months ago
PeerTubeScript.js fix 6 months ago
autocomplete.js Initial commit. 9 months ago
deploy.sh Added code signing. 7 months ago
icon.png fix 6 months ago
index.html index changes 6 months ago
peertube.png Initial commit. 9 months ago
readme.md fix 6 months ago
sign.sh Added code signing. 7 months ago

readme.md

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