https://github.com/shutterstock/node-favicon-video
Videos in your favicon!
https://github.com/shutterstock/node-favicon-video
favicon video
Last synced: 6 months ago
JSON representation
Videos in your favicon!
- Host: GitHub
- URL: https://github.com/shutterstock/node-favicon-video
- Owner: shutterstock
- License: mit
- Created: 2013-05-17T18:35:52.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2020-04-03T16:30:08.000Z (over 5 years ago)
- Last Synced: 2025-03-27T02:51:21.534Z (7 months ago)
- Topics: favicon, video
- Language: JavaScript
- Size: 9.77 KB
- Stars: 7
- Watchers: 6
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Favicon-Video
Play videos in your favicon!
## Setup
```
$ npm install
$ node app.js
```Then visit [http://localhost:3000/index.html](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
| name | description |
|------|-------------|
| src_url | Source URL for the original video clip |
| callback | Callback 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](LICENSE) © 2013-2017 Shutterstock Images, LLC