hubot-chromecast-youtube

0.0.1 • Public • Published

Starts a YouTube video with Hubot

Installation

Add the package hubot-chromecast-youtube as dependencies in your Hubot package.json file by running the command:

npm install hubot-chromecast-youtube --save

To enable the script, add the hubot-chromecast-youtube entry to the external-scripts.json file (you may need to create this file, if it is not present or if you upgraded from Hubot < 2.4).

["hubot-chromecast-youtube"]

Commands

Use

hubot cast <youtube-url>

To start a youtube video

Eg

hubot cast http://www.youtube.com/watch?v=y6Sxv-sUYtM

Quick installation of Hubot

To quickly install hubot, run:

sudo npm install -g hubot coffee-script
hubot --create mixbot

(mixbot is the name of our hubot)

To test it locally, run

bin/hubot --name mixbot

Type

mixbot help

To get an idea of all the available commands

To run it on Campfire, run:

HUBOT_CAMPFIRE_ACCOUNT="youraccount" HUBOT_CAMPFIRE_ROOMS="474911,537247" HUBOT_CAMPFIRE_TOKEN="sometoken" bin/hubot --name mixbot -a campfire

More on the installation of Hubot can be found here: https://github.com/github/hubot/tree/master/docs

/hubot-chromecast-youtube/

    Package Sidebar

    Install

    npm i hubot-chromecast-youtube

    Weekly Downloads

    0

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • samdecrock