0.2.2 • Published 11 years ago

videoinfo v0.2.2

Weekly downloads
3
License
-
Repository
-
Last release
11 years ago

VideoInfo

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"
}

Get the basic information about the provider and the media id based on a url:

vi = require('videoinfo');
var data = vi.resolve('http://www.youtube.com/watch?v=9eHbqMayxv8');

data.provider //=> youtube
data.id //=> 9eHbqMayxv8
0.2.2

11 years ago

0.2.1

11 years ago

0.2.0

11 years ago

0.1.8

11 years ago

0.1.7

11 years ago

0.1.6

11 years ago

0.1.5

11 years ago

0.1.4

11 years ago

0.1.3

11 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago