# videothumbhtml5

> This npm create a thumb client side from a video (mp4/wbm/DASH) all in html5

Latest version **1.0.3** (published 2015-12-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install videothumbhtml5
pnpm add videothumbhtml5
yarn add videothumbhtml5
bun add videothumbhtml5
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2015-12-09 |
| First published | 2015-12-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Iragne |
| Maintainers | adelskott |
| Keywords | video, thumbnail, thumb, html, client |

## Links

- npm: https://www.npmjs.com/package/videothumbhtml5
- Repository: https://github.com/Iragne/videoThumbHtml5
- Homepage: https://github.com/Iragne/videoThumbHtml5#readme
- Issues: https://github.com/Iragne/videoThumbHtml5/issues
- npm.io page: https://npm.io/package/videothumbhtml5

## Dependencies (3)

- [babel](https://npm.io/package/babel.md) 5.8.23
- [videojs](https://npm.io/package/videojs.md) 4.12.15
- [videojs-contrib-dash](https://npm.io/package/videojs-contrib-dash.md) 1.1.1

## Alternatives

- [@tsparticles/shape-image](https://npm.io/package/@tsparticles/shape-image.md) — 303.7K weekly downloads
- [@tsparticles/shape-line](https://npm.io/package/@tsparticles/shape-line.md) — 233.7K weekly downloads
- [stringify-attributes](https://npm.io/package/stringify-attributes.md) — 58.6K weekly downloads
- [mobile-drag-drop](https://npm.io/package/mobile-drag-drop.md) — 46.3K weekly downloads
- [@comunica/actor-rdf-parse-html](https://npm.io/package/@comunica/actor-rdf-parse-html.md) — 29.2K weekly downloads

## Recent versions

- 1.0.3 (latest) — 2015-12-09
- 1.0.2 — 2015-12-08
- 1.0.1 — 2015-12-08
- 1.0.0 — 2015-12-08

## README

# Video Thumb Html 5
This npm create a thumb client side from a video (mp4/wbm/DASH) all in html5

**Compatibilities**

	npm install videothumbhtml5

**Compatibilities**

 1. Firefox
 2. Chrome
 3. IE TBD

**Method** 

thumbVideoFactory is in window.thumbVideoFactory

thumbVideoFactory.getThumb(videosURL, time in second, callback)


**Param**

 1. Video url (mp4 or Dash)
 2. Time to get thumbnail in second
 3. Callback (imageData) 


    thumbVideoFactory.getThumb("http://example.com/video.mp4",60, function (imgData) {
    	document.getElementById('canvasImg4').src = imgData;
    });

---
_Source: https://npm.io/package/videothumbhtml5 · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
