psychedel / discourse-video

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

discourse-video

DiscourseVideo is a Discourse plugin that provides an improved video upload and playback experience using Mux.

Features include:

  • Upload large videos in chunks
  • Play videos via streaming so that you don't have to download the whole video to watch
  • Automatic video encoding
  • Videos are stored externally by Mux so that they don't take up space on your Discourse instance.

Installation

Follow the Install Plugins in Discourse guide, using git clone https://github.com/discourse/discourse-video.git as the plugin command.

Setup

You will need to have a Mux account. Then you can create a Token ID and Secret from Mux to add to your Site Settings in Discourse.

Then inside of Mux you will need to create a webhook and point it back to https://your-discourse.example.com/discourse_video/webhook.

Development

If you are developing you can use a tool like ngrok to point it back to your localhost and then add the ngrok url to the DISCOURSE_DEV_HOSTS env variable before starting rails.

About

License:MIT License


Languages

Language:Ruby 53.3%Language:JavaScript 43.4%Language:Handlebars 2.5%Language:SCSS 0.9%