node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org ยป

videoinfo

VideoInfo

Build Status

A node module for retrieving information of videos from popular video services.

Supported services:

  • Youtube
  • Vimeo
  • Confreaks

Installation

npm install videoinfo

Usage

Fetch the information for a video

vi = require('videoinfo');
vi.fetch('http://www.youtube.com/watch?v=9eHbqMayxv8', function (err, data) {
	//...
});

Data will have the following schema

{
	title: "title",
	description: "description",
	thumbS: "thumbnail/path",
	thumbM: "thumbnail/path",
	thumbL: "thumbnail/path"
}

Running Test

mocha

or

grunt test