Plays.tv Onebox for Discourse


(Daniel Marquard) #1

Discourse Plays.tv Onebox

This plugin for Discourse extends Onebox to add support for embedding videos from Plays.tv in Discourse posts.

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-playstv-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

License

The Discourse Plays.tv Onebox plugin is released under the MIT License.


Twitch Onebox for Discourse