0.0.3 • Published 6 years ago

node-favicon-video v0.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

Favicon-Video

Play videos in your favicon!

Setup

$ npm install
$ node app.js

Then visit http://localhost:3000/index.html to see an example.

Server API

GET /frames

Returns an array of base64-encoded 16x16 pixels video frames at 10fps.

Request Parameters
namedescription
src_urlSource URL for the original video clip
callbackCallback for JSONP support

JavaScript client library

Favicon.play(options)

Play a video in the favicon. Takes the following parameters:

  • server: specify the running node instance
  • src: the URL to the source video clip
Favicon.set(url)

Replace any existing favicon with one at the specified URL.

License

MIT © 2013-2017 Shutterstock Images, LLC