# تضمين PeerTube؟

**URL:** https://meta.discourse.org/t/peertube-embedding/102687
**Category:** Feature
**Created:** [24 نوفمبر 2018، 10:48م UTC](https://meta.discourse.org/t/peertube-embedding/102687 "2018-11-24T22:48:18Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![ChameleonScales](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chameleonscales/32/204777_2.png) [@ChameleonScales](https://meta.discourse.org/u/ChameleonScales)
#### Post date: [24 نوفمبر 2018، 10:48م UTC](https://meta.discourse.org/t/peertube-embedding/102687/1 "2018-11-24T22:48:18Z")

</div>

Any plan to support Peertube embedding?

---

<div class="post-metadata">

### Author: ![gingerbeardman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gingerbeardman/32/540824_2.png) [@gingerbeardman](https://meta.discourse.org/u/gingerbeardman)
#### Post date: [24 نوفمبر 2018، 10:49م UTC](https://meta.discourse.org/t/peertube-embedding/102687/2 "2018-11-24T22:49:43Z")

</div>

What’s Peertube?

(a link would help)

---

<div class="post-metadata">

### Author: ![ChameleonScales](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chameleonscales/32/204777_2.png) [@ChameleonScales](https://meta.discourse.org/u/ChameleonScales)
#### Post date: [24 نوفمبر 2018، 10:51م UTC](https://meta.discourse.org/t/peertube-embedding/102687/3 "2018-11-24T22:51:07Z")

</div>

Now that I didn’t see coming.

Well let’s start with this:

> **[What is PeerTube?](https://framatube.org/videos/watch/9c9de5e8-0a1e-484a-b099-e80766180a6d)**
>
> Want to help to translate this video? Take back the control of your videos! #JoinPeertube A decentralized video hosting network, based on free/libre software! Animation Produced by: LILA - ZeMarmot...

---

<div class="post-metadata">

### Author: ![gingerbeardman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gingerbeardman/32/540824_2.png) [@gingerbeardman](https://meta.discourse.org/u/gingerbeardman)
#### Post date: [24 نوفمبر 2018، 11:06م UTC](https://meta.discourse.org/t/peertube-embedding/102687/4 "2018-11-24T23:06:22Z")

</div>

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](https://github.com/discourse/onebox)

PS: no standard transport controls on the video? I can’t drag the playhead. I’m on iOS.

---

<div class="post-metadata">

### Author: ![ChameleonScales](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chameleonscales/32/204777_2.png) [@ChameleonScales](https://meta.discourse.org/u/ChameleonScales)
#### Post date: [25 نوفمبر 2018، 12:03ص UTC](https://meta.discourse.org/t/peertube-embedding/102687/5 "2018-11-25T00:03:33Z")

</div>

I have zero knowledge in ruby.

> [@gingerbeardman](#):
>
> PS: no standard transport controls on the video? I can’t drag the playhead. I’m on iOS.

Sorry, no idea what you mean.

I’ll have a closer look when I have the time.

---

<div class="post-metadata">

### Author: ![gingerbeardman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gingerbeardman/32/540824_2.png) [@gingerbeardman](https://meta.discourse.org/u/gingerbeardman)
#### Post date: [25 نوفمبر 2018، 12:15ص UTC](https://meta.discourse.org/t/peertube-embedding/102687/6 "2018-11-25T00:15:52Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![aldobelus](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@aldobelus](https://meta.discourse.org/u/aldobelus)
#### Post date: [7 أكتوبر 2019، 10:27ص UTC](https://meta.discourse.org/t/peertube-embedding/102687/7 "2019-10-07T10:27:34Z")

</div>

حسنًا، أعتقد أن هناك المزيد من الأشخاص الذين يرغبون في الحصول على بدائل مجانية لـ YouTube أو Facebook، كما هو حالتي حاليًا…

لكن، على أي حال، سأطلب منهم دعم Onebox لمنصة Discourse. لا يمكنك أبدًا أن تعرف…

---

<div class="post-metadata">

### Author: ![aldobelus](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@aldobelus](https://meta.discourse.org/u/aldobelus)
#### Post date: [13 أكتوبر 2019، 11:25ص UTC](https://meta.discourse.org/t/peertube-embedding/102687/8 "2019-10-13T11:25:05Z")

</div>

كانت معلوماتي خاطئة. فـ PeerTube يدعم بالفعل خاصية _Onebox_. لكن الأمر يعتمد على أن ليس جميع النسخ (instances) تدعمها، بل بعضها فقط. يمكنك تجربة الرابط أولاً، حتى قبل إنشاء حساب، وذلك بإدراجه في محرر تعليقات Discourse. إذا عمل الرابط وأظهرت خاصية _OneBox_ في منتدى Discourse، قم بتسجيل حساب في تلك النسخة! أما إذا لم يعمل، فانتظر حتى تجد نسخة تدعمها!

نسخ PeerTube موجودة هنا: [What is PeerTube? | JoinPeerTube](https://joinpeertube.org/en/#register)

الإنجليزية ➡ [What is PeerTube? | JoinPeerTube](https://joinpeertube.org/en/)  
الإسبانية ➡ [¿Qué es PeerTube? | JoinPeerTube](https://joinpeertube.org/es/)  
الألمانية ➡ [Was ist PeerTube? | JoinPeerTube](https://joinpeertube.org/de/)  
الفرنسية ➡ [C'est quoi PeerTube ? | JoinPeerTube](https://joinpeertube.org/fr/)  
الإيطالية ➡ [Che cos'è PeerTube? | JoinPeerTube](https://joinpeertube.org/it/)

---

<div class="post-metadata">

### Author: ![hellekin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hellekin/32/51636_2.png) [@hellekin](https://meta.discourse.org/u/hellekin)
#### Post date: [27 نوفمبر 2020، 12:36م UTC](https://meta.discourse.org/t/peertube-embedding/102687/9 "2020-11-27T12:36:00Z")

</div>

عند لصق `https://peertube.instance.example/videos/watch/e017e412-c4e8-42c6-94f4-967f304b1378`، قد يخطر ببالك استخدام `https://peertube.instance.example/videos/watch/` كإعداد لـ `allowed_iframes`. هذا خطأ!

> [@hellekin](#):
>
> ## نصيحة / ملاحظة لتضمين مقاطع فيديو من Peertube
> 
> استخدم `https://peertube.instance.example/videos` في إعداد الموقع `allowed_iframes` لدعم كلتا الحالتين: `/videos/watch/<uuid>` و `/videos/embed/<uuid>`، حيث تُستخدم الحالة الثانية بواسطة “onebox” الخاص بـ Peertube عند لصق الحالة الأولى!
