The discussion revolves around embedding videos hosted on a site, rather than using external hosting services like YouTube or Vimeo. EGreg initially inquires about a plugin to achieve this, but ryanerwin suggests using a third-party video player or Vimeo’s feature to hide videos from their site, allowing them to be embedded elsewhere.
EGreg discovers that Vimeo does offer this feature, but also wants to add custom disclaimers, which might require customizing the theme. awesomerobot suggests requiring users to agree to disclaimers upon signing up, but EGreg notes that videos may be viewed before signing up.
awesomerobot recommends using a custom plugin to restrict access to videos for anonymous users. For embedding videos directly, awesomerobot explains that MP4 is a suitable format and can be embedded using the HTML5 <video> tag.
Other users, such as silvacarl and joen, face issues with embedding videos, either due to the desire to restrict access or technical difficulties with playable videos. codinghorror and tomtjes offer potential solutions, including using a video component or deep linking to the video file.
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 @atintercoin.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.
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.
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.)
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, 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:
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.
Sorry to revive this, but I am having trouble embedding mp4 files that we host locally. They just show up as links, not as playable videos.
An example can be found here: https://archive.mpi.nl/forums/t/screencast-creating-an-account-at-the-language-archive/2750
Do you know what the issue may be? I’ve set staff authorized extensions to accept all file-types and added nl in the markdown linkify tlds.
This works indeed when uploading a video, but when I just want display a video from a link (see the link I posted), it doesnt detect it as such. I’ll look at the Video component that Thomas sent.