Peertube embedding?

Any plan to support Peertube embedding?

What’s Peertube?

(a link would help)

1 Like

Now that I didn’t see coming.

Well let’s start with this:

1 Like

Thanks.

If you have the required thumbnails and metadata it should be easy to add support yourself and file a PR. GitHub - discourse/onebox: A gem for turning URLs into website previews

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.

3 Likes

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…

3 Likes

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: Take back control of your videos! JoinPeerTube

English :arrow_right: Take back control of your videos! JoinPeerTube
Spanish :arrow_right: Take back control of your videos! JoinPeerTube
German :arrow_right: Take back control of your videos! JoinPeerTube
French :arrow_right: Take back control of your videos! JoinPeerTube
Italian :arrow_right: Take back control of your videos! JoinPeerTube

3 Likes

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!