Peertube 嵌入?

Any plan to support Peertube embedding?

What’s Peertube?

(a link would help)

1 个赞

Now that I didn’t see coming.

Well let’s start with this:

1 个赞

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

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 个赞

嗯,我想确实有更多人像我一样,希望能找到 YouTube 或 Facebook 的免费替代品……

不过,无论如何,我会向 Discourse 团队询问是否支持 Onebox 功能。谁说得准呢……

3 个赞

我搞错了。PeerTube 确实支持 Onebox。只是并非所有实例都支持,只有部分实例支持。你可以先尝试在 Discourse 评论编辑器中插入链接(无需先注册账号)。如果链接能正常显示为 OneBox,那就去该实例注册账号吧!如果不行,那就继续寻找支持该功能的实例!

PeerTube 实例列表:What is PeerTube? | JoinPeerTube

英语 :arrow_right: What is PeerTube? | JoinPeerTube
西班牙语 :arrow_right: ¿Qué es PeerTube? | JoinPeerTube
德语 :arrow_right: Was ist PeerTube? | JoinPeerTube
法语 :arrow_right: C'est quoi PeerTube ? | JoinPeerTube
意大利语 :arrow_right: Che cos'è PeerTube? | JoinPeerTube

3 个赞

当粘贴 https://peertube.instance.example/videos/watch/e017e412-c4e8-42c6-94f4-967f304b1378 时,您可能倾向于将 https://peertube.instance.example/videos/watch/ 设为 allowed_iframes 的设置。这是错误的!