First Class Support for 3rd Party Video Services

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:

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

I disagree with your premises, but for the purpose of avoiding silo blocks, I’ve been using PeerTube 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:


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

And here’s the result:

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.

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

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.

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.

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.

“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.

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.

죄송합니다, 제 FreeTube 비디오를 임베드할 수 없는 이유가 무엇일까요? YouTube 링크처럼 링크를 포함했는데, 일반적인 플레이어 대신 위키백과 스타일의 Openbox가 표시됩니다.


링크로 비디오를 임베드하려면 어떻게 해야 할까요? 소스 코드 페이지에서 모든 “적절한 og:type="video" 태그” 링크를 검색해 보았지만 아무것도 찾을 수 없었습니다. 아침 내내 작동하도록 시도해 보았지만… :sweat:

테스트…

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

보이시나요? 내 링크와 여러분의 링크 사이의 차이가 무엇인지 파악할 수 없습니다. 제게는 모두 같아 보이며, 동일한 구조를 가지고 있습니다: 도메인/videos/watch/비디오번호. 하지만 동일한 결과를 보이지 않습니다.

iframe으로 시도해 보았습니다. 결과는 동일합니다.

제 문제를 해결하는 방법을 찾았으니, 저처럼 더 명확한 표현과 간단한 답변이 필요하신 분들을 위해 공유합니다: PeerTube에는 여러 가지 서로 다른 인스턴스가 있습니다. 그중 일부는 OneBox를 지원하고, 일부는 지원하지 않습니다. 아주 단순한 문제입니다… 만약 여러분의 인스턴스가 이를 지원하지 않는다면, 다른 인스턴스에서 다른 PeerTube 계정을 만들어 사용하면 됩니다.

감사합니다? :wink: 인사드립니다.

그러니까 PeerTube와 화이트리스트를 사용하면, 포럼에 속하지 않은 사람이 그들을 보거나 다운로드하는 것을 막을 수 있는 건가요?