# First Class Support for 3rd Party Video Services

**URL:** https://meta.discourse.org/t/first-class-support-for-3rd-party-video-services/121241
**Category:** Support
**Created:** [June 25, 2019, 6:19am UTC](https://meta.discourse.org/t/first-class-support-for-3rd-party-video-services/121241 "2019-06-25T06:19:33Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![ryanerwin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ryanerwin/32/94589_2.png) [@ryanerwin](https://meta.discourse.org/u/ryanerwin)
#### Post date: [June 25, 2019, 6:19am UTC](https://meta.discourse.org/t/first-class-support-for-3rd-party-video-services/121241/1 "2019-06-25T06:19:33Z")

</div>

I think that one of the primary reasons that Discourse and Discourse communities exist is to be a distributed system of ideas and discussion, free from any one perspective.

Linking to videos is a very popular way to share ideas in these discussions, but we’re pretty much limited to YouTube and maybe Vimeo for good built in video sharing.

* * *

SUMMARY:

- `MP4` video can be directly embedded into Discourse and they will play, but video hosting can get expensive
- 3rd party sites like Mega or BitChute need to provide proper `og:type="video"` tags… Otherwise they rely on `iframes` and must be manually whitelisted.
- `PeerTube` already supports `og:type="video"` and can be cleanly embedded into Discourse right now.

For example, PeerTube URLs can be pasted directly and will playback just fine:

```plaintext
https://peertube.cpy.re/videos/watch/5a6133b8-3e0c-40dc-b859-69d0540c3fe5

```

> **[Big Buck Bunny](https://peertube.cpy.re/videos/watch/5a6133b8-3e0c-40dc-b859-69d0540c3fe5)**
>
> Big Buck Bunny (code-named Peach) is a 2008 short computer-animated comedy film by the Blender Institute, part of the Blender Foundation.

---

<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: [June 25, 2019, 6:41am UTC](https://meta.discourse.org/t/first-class-support-for-3rd-party-video-services/121241/2 "2019-06-25T06:41:37Z")

</div>

I disagree with your premises, but for the purpose of avoiding silo blocks, I’ve been using [PeerTube](https://joinpeertube.org/) video links with success. Vimeo has some “private” thing that prevents embedding in external sites, that prompted me to find another source for the video. Peertube works just fine out of silos.

Here, below, I write the link on a line on its own:

```plaintext

https://framatube.org/videos/watch/9c9de5e8-0a1e-484a-b099-e80766180a6d

```

And here’s the result:

> **[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...

_Hmmm, a nice black block… On my instance, I whitelisted the instances I want to use._

---

<div class="post-metadata">

### Author: ![ryanerwin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ryanerwin/32/94589_2.png) [@ryanerwin](https://meta.discourse.org/u/ryanerwin)
#### Post date: [June 25, 2019, 6:54am UTC](https://meta.discourse.org/t/first-class-support-for-3rd-party-video-services/121241/3 "2019-06-25T06:54:29Z")

</div>

> [@hellekin](#):
>
> _Hmmm, a nice black block… On my instance, I whitelisted the instances I want to use._

That’s exactly my point.

Many of these can be worked around manually with iframes, but that’s configuration changes in every single discourse instance installed.

This is completely different from the way that YouTube links are supported, just reinforcing a monopoly position.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [June 25, 2019, 12:12pm UTC](https://meta.discourse.org/t/first-class-support-for-3rd-party-video-services/121241/4 "2019-06-25T12:12:03Z")

</div>

Unless lots of people want this feature your best bet will be a plugin

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [June 25, 2019, 3:25pm UTC](https://meta.discourse.org/t/first-class-support-for-3rd-party-video-services/121241/5 "2019-06-25T15:25:42Z")

</div>

Due to the way PeerTube works, you only need to whitelist a single domain on your forum, and can have that instance pull the videos you want to include.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [June 26, 2019, 10:46am UTC](https://meta.discourse.org/t/first-class-support-for-3rd-party-video-services/121241/6 "2019-06-26T10:46:34Z")

</div>

> [@ryanerwin](#):
>
> Linking to videos is a very popular way to share ideas in these discussions, but we’re pretty much limited to YouTube and maybe Vimeo for good built in video sharing.

This isn’t really the case, so the premise here is all wrong. You can link to direct mp4 videos from anywhere on the web and they will show as, y’know.. videos.

---

<div class="post-metadata">

### Author: ![ryanerwin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ryanerwin/32/94589_2.png) [@ryanerwin](https://meta.discourse.org/u/ryanerwin)
#### Post date: [June 26, 2019, 11:14am UTC](https://meta.discourse.org/t/first-class-support-for-3rd-party-video-services/121241/7 "2019-06-26T11:14:12Z")

</div>

> [@codinghorror](#):
>
> This isn’t really the case, so the premise here is all wrong

Yes, assuming that wherever the forum is hosted can afford to absorb the bandwidth for video hosting. For anything commercial, of course we can.

So the issues really is for non commercial use cases where video hosting is preferable a much larger bandwidth bill.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [June 26, 2019, 11:19am UTC](https://meta.discourse.org/t/first-class-support-for-3rd-party-video-services/121241/8 "2019-06-26T11:19:55Z")

</div>

“I want this video to remain online regardless of who might dislike it” and “I don’t want to pay for it” are incompatible perspectives.

YouTube are well within their rights to take anything down from their service, because first and foremost it’s an advertising platform, free video hosting is a consequence of their ability to generate ad revenue. All free video platforms will run into this issue.

Bitchute technically doesn’t host the content and aren’t a video platform in the typical sense, they use a proprietary player to access a webtorrent asset, so conventional HTML5 video players aren’t an option. I’m not sure how much effort is worth investing in this particular case as the content which finds a home on bitchute up until now has typically been far-right, or come complete with a free tinfoil hat.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [June 26, 2019, 4:31pm UTC](https://meta.discourse.org/t/first-class-support-for-3rd-party-video-services/121241/9 "2019-06-26T16:31:38Z")

</div>

> [@Stephen](#):
>
> “I want this video to remain online regardless of who might dislike it” and “I don’t want to pay for it” are incompatible perspectives.

That is a very good point.

Also, any site can embed videos in Discourse if they have correct og tags, like the framatube link above which works just fine because it contains a proper `og:type="video"` tag.

> **[Big Buck Bunny](https://framatube.org/videos/watch/5a6133b8-3e0c-40dc-b859-69d0540c3fe5)**
>
> Big Buck Bunny (code-named Peach) is a 2008 short computer-animated comedy film by the Blender Institute, part of the Blender Foundation.

---

<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: [October 7, 2019, 11:06am UTC](https://meta.discourse.org/t/first-class-support-for-3rd-party-video-services/121241/10 "2019-10-07T11:06:48Z")

</div>

I’m sorry, why I can’t embed my FreeTube videos? I include the link, as one from YouTube, and, instead show the usual player, it passes me a Wikipedia type Openbox…

 ![](https://global.discourse-cdn.com/meta/original/3X/5/d/5d311f8e60c9e6753c14c1a2c8daf33f2bd38add.png)  
What I have to do to embed the video by link, please? I’ve searched all “proper `og:type="video"` tag” links at the source code page and nothing. I have passed all morning trying to make it work… 😓

A test…

[https://peertube.fr/videos/watch/250a0e50-5e80-4583-a923-c522b668f8f9](https://peertube.fr/videos/watch/250a0e50-5e80-4583-a923-c522b668f8f9)

See? I don’t locate what difference is between your links and the mine ones. For me, they’re all the same, have the same structure: _domain/videos/watch/numberofthevideo_. But doesn’t develop the same.

I’ve tried to iframe it. Same result.

---

<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: [October 7, 2019, 6:23pm UTC](https://meta.discourse.org/t/first-class-support-for-3rd-party-video-services/121241/11 "2019-10-07T18:23:16Z")

</div>

I found the solution to my problem, so I will offer it for other people who, like me, is in need of clearer words and simple answers: **PeerTube have multiple and different instances**. Some of them support _OneBox_ and others don’t. It’s so simple… If yours doesn’t do it, change, open another PeerTube account at [another instance](https://joinpeertube.org/es/#register).

Thank you? 😉 Greetings.

---

<div class="post-metadata">

### Author: ![silvacarl](https://avatars.discourse-cdn.com/v4/letter/s/a3d4f5/32.png) [@silvacarl](https://meta.discourse.org/u/silvacarl)
#### Post date: [December 4, 2019, 1:30am UTC](https://meta.discourse.org/t/first-class-support-for-3rd-party-video-services/121241/12 "2019-12-04T01:30:31Z")

</div>

so by using PeerTube and white listing, we can prevent anyone not in the forum from seeing them or downloading them?

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [September 9, 2023, 11:32pm UTC](https://meta.discourse.org/t/first-class-support-for-3rd-party-video-services/121241/13 "2023-09-09T23:32:03Z")

</div>



---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [September 10, 2023, 8:14am UTC](https://meta.discourse.org/t/first-class-support-for-3rd-party-video-services/121241/14 "2023-09-10T08:14:31Z")

</div>


