كيف يمكنني تضمين الفيديوهات المستضافة على موقعنا؟

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.)
إعجاب واحد (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:

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
هل تعرف ما قد تكون المشكلة؟ لقد قمت بضبط الامتدادات المصرح بها للموظفين لقبول جميع أنواع الملفات، وأضفت nl في نطاقات المستوى العلوي (TLDs) الخاصة بربط الروابط في markdown.

لنرى

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

لقد قمت برفعها للتو هنا.

إعجاب واحد (1)

شاهد هذا:

إعجابَين (2)

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

هذا يعمل بالفعل عند رفع فيديو، لكن عندما أريد فقط عرض فيديو من رابط (انظر الرابط الذي نشرته)، لا يكتشفه كفيديو. سأراجع مكون الفيديو الذي أرسله توماس.

جرب ذلك في سطر منفصل

ستحتاج إلى ربط الفيديو برابط مباشر (deep link) على النحو التالي

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