Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Demo for nodecast

View rick-roll.js
1 2 3 4 5 6 7 8 9 10 11 12 13
var nodecast = require('nodecast');
var stream = nodecast.find();
 
stream.on('device', function(device) {
console.log('Found device', device.name);
 
var youtube = device.app('YouTube');
// you can change this video to anything you want
youtube.start('v=oHg5SJYRHA0', function(err) {
console.log('Started on', device.name);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.