⏩ Favorite Icon Video
A small library for video manipulating in favicon.
Installation
npm install favorite-icon-video
Demo
API
.play()
Starts tracking the video and changes the favicon.
; const favVideo = video: document; favVideostart;
.pause()
Stop tracking the video and changes the favicon.
; const favVideo = video: document; // ... favVideo;
.reset()
Reset the favicon.
; const favVideo = video: document; // ... favVideo;
.destroy()
; const favVideo = video: document; // ... favVideo;
Browser support
- Chrome: ✅
- Firefox: ✅
- Opera: ✅
- IE: ❌
- Edge: ❌
- Safari: ❌ (Safari hides favicons)
License
MIT License