This commit is contained in:
Utkarsh Verma
2022-07-08 09:15:27 +05:30
parent f3b6973a7b
commit caeaaf9c3d
3 changed files with 14 additions and 8 deletions

View File

@@ -1,20 +1,24 @@
[travis-image]: https://img.shields.io/travis/n3r4zzurr0/video-frames/main.svg
[travis-url]: https://app.travis-ci.com/github/n3r4zzurr0/video-frames
[circleci-image]: https://circleci.com/gh/n3r4zzurr0/video-frames.svg?style=shield
[circleci-url]: https://circleci.com/gh/n3r4zzurr0/video-frames
[npm-image]: https://img.shields.io/npm/v/video-frames.svg
[npm-url]: https://npmjs.org/package/video-frames
[size-image]: https://img.shields.io/bundlephobia/minzip/video-frames@latest
[size-url]: https://bundlephobia.com/result?p=video-frames@latest
[vulnerabilities-image]: https://snyk.io/test/npm/video-frames/badge.svg
[vulnerabilities-url]: https://snyk.io/test/npm/video-frames
[standard-image]: https://img.shields.io/badge/code_style-standard-brightgreen.svg
[standard-url]: https://standardjs.com
[license-image]: https://img.shields.io/github/license/n3r4zzurr0/video-frames.svg
[license-url]: https://github.com/n3r4zzurr0/video-frames/blob/main/LICENSE
# video-frames
[![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![size][size-image]][size-url] [![javascript style guide][standard-image]][standard-url]
[![circleci][circleci-image]][circleci-url] [![npm][npm-image]][npm-url] [![size][size-image]][size-url] [![known vulnerabilities][vulnerabilities-image]][vulnerabilities-url] [![javascript style guide][standard-image]][standard-url] [![license][license-image]][license-url]
Client-side video frames extraction as base64 encoded images.
**[Demo](https://n3r4zzurr0.in/video-frames/demo/) / [CodePen](https://codepen.io/n3r4zzurr0/pen/abqOXpQ?editors=1010)**
<br>
<hr>
:warning: Doesn't work in Safari on iOS
@@ -22,6 +26,8 @@ From [Apple Developer Documentation](https://developer.apple.com/documentation/w
> The image object can be an `img` element, a `canvas` element, or a `video` element. **Use of the `video` element is not supported in Safari on iOS**, however.
<hr>
## Installation
**npm**
@@ -164,4 +170,4 @@ If a valid value for `offsets` is set, `startTime`, `endTime`, and `count` are *
## License
MIT © [Utkarsh Verma](https://github.com/n3r4zzurr0)
MIT © [Utkarsh Verma](https://github.com/n3r4zzurr0)