How can I embed videos hosted on our site?

We have a forum at forum.intercoin.org that we installed, but we are not Ruby or Discourse experts.

Currently we have been hosting our videos on YouTube and embedding them. But for regulatory reasons, we’d like to bring the videos “in-house” and set the metadata of the page to allow sharing. The idea is that people will see the thumbnail, title and description but not the video outside our site, and we must put custom disclaimers when people visit, before they can see the video.

Is there a plugin for this? If not, would anyone on this site be interested in developing one for us for $$? Please contact me at greg+d @at intercoin.org .

It would probably need a custom player that plays videos in a format accepted by all browsers. And lets admins manage metadata for some topics’ pages.

1개의 좋아요

Just wanted to bump this up. Can anyone help?

If you need something custom you should probably rewrite this as a post in Marketplace

There are lots of 3rd party video player alternatives, the trick is how to make your streaming videos perform well regardless of viewer location.

If you just want to restrict access to only viewing from your site, Vimeo can do that…and the “integration” is just pasting in the Vimeo URL.

The thing is, we can’t use Vimeo or some external host, unless they let us embed the video on our site but NOT allow someone to visit the page on their site, so that the only way they can view the video is by agreeing to our disclaimers first.

Does Vimeo have such an option?

1개의 좋아요

Ah it appears it does:

  • Hide this video from vimeo.com (Plus + PRO + Business + Premium only) - This video can be embedded on other sites but can’t be viewed on vimeo.com. (Your video cannot appear in Channels and Groups but can still be added to Albums and Portfolios.)

https://help.vimeo.com/hc/en-us/articles/224817847-Privacy-settings-overview

1개의 좋아요

What about the disclaimers, etc. ? Can this be done by customizing the theme?

Is that easy to do, or should I hire someone to do it? Is there a link to instructions?

Should these disclaimers be required when someone signs up to use your site? If you could do that then it would be much easier to just allow the embedding of videos directly.

Yes. But the videos may be seen by browsing before signing up.

What do you mean by embedding directly? How? Like a data:// url so it’s a huge page download even if video doesn’t play?

Yes, that’s true. You could potentially hide videos from anonymous users with CSS, but someone who’s a little savvy could find them so it wouldn’t be particularly secure. You’d need a custom plugin otherwise.

If the filetype is enabled in your settings, videos can be posted directly as you would with images. The full video isn’t loaded for the user until it’s played. For example:

1개의 좋아요

What would the actual code be to embed the video?

What file type should the video be?

And what player is used by default?

MP4 is probably the best format to use, it’s supported by all modern browsers.

There’s no code required from the poster to embed the video, as long as you have the video filetype set in the authorized extensions setting you can upload it or drag it into the composer as if you’re posting an image.

You can also post a link to an externally hosted MP4 on its own line, and it’ll be embedded

For example, putting this link on its own line
https://i.imgur.com/cLEzWIh.mp4

Embeds the video like this:
Imgur

The video is embedded using the HTML5 <video> tag, which uses your browser’s native player.

9개의 좋아요

비디오나 비디오 링크를 복사할 수 없게 임베드하는 것이 가능한가요? 포럼 회원들이 포럼을 통해서만 해당 콘텐츠에 접근할 수 있도록 하고 싶습니다.

OBS를 사용해 스트리밍하거나 스마트폰 카메라로 영상을 녹화하는 사람이 있다면 문제가 될까요?

1개의 좋아요

그 정도까지 아니더라도 대부분의 비디오 플레이어는 네트워크 탭에서 트래픽을 노출하여 누구나 소스 경로를 복사해 갈 수 있게 합니다.

1개의 좋아요

우리는 S3에 비디오를 업로드하고 특수 브라우저에 임베드할 예정입니다. 물론, 의지가 있는 사람은 비디오를 얻을 수 있지만, 적어도 시도해 본 셈이죠. :sunglasses:

부활시키는 건 미안하지만, 로컬에서 호스팅하는 mp4 파일을 임베드하는 데 문제가 있습니다. 재생 가능한 비디오가 아니라 링크로만 표시됩니다.
예를 들어 여기에서 확인할 수 있습니다: Screencast: creating an account at the Language Archive - Archiving info - The Language Archive Forums
문제가 무엇인지 아시는 분 계신가요? 스태프 승인 확장자에서 모든 파일 유형을 허용하도록 설정했고, 마크다운 링크파이어 TLD에 nl을 추가했습니다.

확인해 보자

![SampleVideo_1280x720_1mb|video](upload://3ls8bMAIgT1XlHWkVSrCPfi4ONw.mp4)

방금 여기에 업로드했습니다.

1개의 좋아요

이것을 확인해 보세요:

2개의 좋아요

![SampleVideo_1280x720_1mb|video](upload://3ls8bMAIgT1XlHWkVSrCPfi4ONw.mp4)

비디오를 업로드할 때는 실제로 잘 작동하지만, 링크(제가 올린 링크 참조)에서 비디오를 표시하려고 할 때는 비디오로 인식하지 않습니다. 토마스가 보내준 비디오 컴포넌트를 살펴보겠습니다.

한 줄로만 입력해 보세요

https://archive.mpi.nl/forums/t/screencast-creating-an-account-at-the-language-archive/2750

비디오를 다음과 같이 딥 링크로 연결해야 합니다

https://www.mpi.nl/corpus/manuals/screencasts/TLA-new_account.mp4

https://www.mpi.nl/corpus/manuals/screencasts/TLA-new_account.mp4