Any plan to support Peertube embedding?
AI-generated summary
The discussion revolves around adding support for embedding Peertube videos in Discourse via Onebox. ChameleonScales initiated the request, sharing a Peertube video link here. gingerbeardman asked for clarification and suggested that users with Ruby knowledge could contribute via a PR to discourse/onebox, noting playback issues on iOS post:4. ChameleonScales admitted limited technical knowledge and deferred further investigation. gingerbeardman recommended contacting Peertube developers directly, as they have greater incentive to implement support. aldobelus expressed interest in free video alternatives and planned to reach out to Peertube developers. Later, aldobelus clarified that Onebox support already exists on some Peertube instances, and users can test links before registering—listing international instance directories. Finally, hellekin provided a technical tip: to enable embedding, set allowed_iframes to https://peertube.instance.example/videos (not /videos/watch/) to support both watch and embed URLs used by Peertube’s Onebox. The thread reflects community-driven problem-solving and highlights that Peertube embedding is possible with proper configuration, though not universally available across all instances.
What’s Peertube?
(a link would help)
Now that I didn’t see coming.
Well let’s start with this:
Thanks.
If you have the required thumbnails and metadata it should be easy to add support yourself and file a PR. GitHub - discourse/onebox: (DEPRECATED) A gem for turning URLs into website previews · GitHub
PS: no standard transport controls on the video? I can’t drag the playhead. I’m on iOS.
I have zero knowledge in ruby.
Sorry, no idea what you mean.
I’ll have a closer look when I have the time.
I can’t skip or fast forward the example video you linked the way I can with any other videos I watch on iOS.
You should ask the Peertube developer to add onebox so support to Discourse. They have the incentive, Discourse does not.
Well, I suppose there are more people who would like to have free alternatives to YouTube, or Facebook, as is my case right now…
But, anyway, I will ask them for Onebox support to Discourse. You never know…
I was wrong. PeerTube does have support to Onebox. It happens that not all the instances support it, only some of them. You can try with a link first, before have an account, including it at your Discourse comments editor. If the link works, if spreads the OneBox at your Discourse forum, register an account at that instance! If not, look forward… till you find one which has it!
Instances of PeerTube, here: What is PeerTube? | JoinPeerTube
English
What is PeerTube? | JoinPeerTube
Spanish
¿Qué es PeerTube? | JoinPeerTube
German
Was ist PeerTube? | JoinPeerTube
French
C'est quoi PeerTube ? | JoinPeerTube
Italian
Che cos'è PeerTube? | JoinPeerTube
When pasting https://peertube.instance.example/videos/watch/e017e412-c4e8-42c6-94f4-967f304b1378, you may be tempted to use https://peertube.instance.example/videos/watch/ as the setting for allowed_iframes. This is wrong!