Play videos in your favicon!
$ npm install
$ node app.js
Then visit http://localhost:3000/index.html to see an example.
Returns an array of base64-encoded 16x16 pixels video frames at 10fps.
name | description |
---|---|
src_url | Source URL for the original video clip |
callback | Callback for JSONP support |
Play a video in the favicon. Takes the following parameters:
server
: specify the running node instancesrc
: the URL to the source video clip
Replace any existing favicon with one at the specified URL.
MIT © 2013-2017 Shutterstock Images, LLC