Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Demo for nodecast
var nodecast = require('nodecast');
var stream = nodecast.find();
stream.on('device', function(device) {
console.log('Found device',;
var youtube ='YouTube');
// you can change this video to anything you want
youtube.start('v=oHg5SJYRHA0', function(err) {
console.log('Started on',;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment