PeerTube Logo

This module allows you to add PeerTube videos as Remote videos from the media module in drupal core.

Why do I need this module?

PeerTube supports oEmbed and this protocol is used by Drupal for Remote videos. That's cool because that means that Drupal core supports PeerTube natively! But there is one problem that this module solves. PeerTube is a decentralized network of video platforms, consequently the videos can have URLs with a lots of different domain names. But the core is based on a fixed list of authorized domains, this module allows you to add your peertube instances as authorized domains.

Dependencies

- The oembed Providers module, if you use composer the module will be downloaded automatically

How to use

  • Enable the peertube module and his dependencies and clear the caches.
  • Visit /admin/config/media/peertube and add the domains of your Peertube instances you want to use.
  • Configure the oEmbed Providers module at /admin/config/media/oembed-providers/custom-providers and allow the Peertube provider.
  • Configure the Remote Video media type at /admin/structure/media/manage/remote_video and allow the Peertube provider.
  • You're done, you should be able to add Peertube videos from the instances you allowed!

Roadmap

Project information

Releases