Insert Video component

Repository at GitHub - 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.)


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

Hi @pmusaraj, what button should I see in the composer window once installed?

I am seeing an empty space right now:


Sweet component @pmusaraj, thanks for sharing!

Giving this a test now, can confirm I’m also getting the same as @outofthebox with the empty icon box (2.5.0 stable).


I just pushed a fix for this, please update the component in your instances.


@pmusaraj, that’s truly a gift. Thank you.

I am not at 2.5.0 yet. Will this commit work on 2.4.5?

1 Like

It might not, but a quick fix in that case would be to add the video icon to the svg icon subset site setting.


Fantastic, that works perfectly!


Great! Thanks @pmusaraj! The latest update is working perfect for me also :slight_smile:

1 Like

is there any demo using this component?