Insert Video component

Repository at GitHub - discourse/discourse-insert-video

https://github.com/discourse/discourse-insert-video

Installation instructions: How do I install a Theme or Theme Component?

What this does?

This theme component adds a composer button that simplifies adding videos with subtitles (VTT format), a poster image and multiple video sources to a Discourse post.

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

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

1 Like