Insert Video

:discourse2: Summary Insert Video adds a composer button that simplifies adding videos with subtitles (VTT format), a poster image and multiple video sources to a Discourse post.
:hammer_and_wrench: Repository Link https://github.com/discourse/discourse-insert-video
:open_book: New to Discourse Themes? Beginner’s guide to using Discourse Themes

Install this theme component

Clicking the button triggers a modal window that allows uploading/linking the relevant files and then adds the appropriate HTML code in the composer:


Admin configuration settings:

(For uploads to work, you’ll need to allow .vtt and your chosen video formats in the authorized extensions site setting.)

35 Likes

Sweet, thank you! Would it be possible to allow audio as well and just keep showing the poster image (or if none is available maybe a configurable background color) plus subtitles?

Also, and I realize this is a much bigger ask, would something like what the YouTube Timestamps Component does be doable with this component in the long-term? That’d be absolutely fantastic.

3 Likes

A post was split to a new topic: How to insert a video with Insert Video?