Skip to content

Adds support for properly embedding Twitch streams, videos, and Clips within Discourse.

License

Notifications You must be signed in to change notification settings

critcola/discourse-twitch-onebox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Logo

Discourse Twitch Onebox

This plugin for Discourse extends Onebox to add support for properly embedding Twitch streams, videos (VODs), and Clips in Discourse posts. Videos embed as protocol-relative and with auto-play disabled.

Demo

See it in action and test it out for yourself on Crit Cola's Discourse.

Installation

Add the plugin's repository URL to your container's app.yml file, for example:

hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - mkdir -p plugins
          - git clone https://github.com/critcola/discourse-twitch-onebox.git

Rebuild the container:

cd /var/discourse
./launcher rebuild app

For the plugin to apply retroactively, you'll need to rebake old posts:

cd /var/discourse
./launcher enter app
rake posts:rebake

About Crit Cola

Crit Cola is connecting and empowering the world's best players. Primarily an Overwatch clan, we're a growing community of PC gamers. Join our Steam group and follow us on Twitter. Cheers!

License

The Discourse Twitch Onebox plugin is released under the MIT License.

About

Adds support for properly embedding Twitch streams, videos, and Clips within Discourse.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages