https://github.com/zecat/iron-video-capture
An element extending the native video element, make it easy to capture a video frame
https://github.com/zecat/iron-video-capture
Last synced: 5 months ago
JSON representation
An element extending the native video element, make it easy to capture a video frame
- Host: GitHub
- URL: https://github.com/zecat/iron-video-capture
- Owner: Zecat
- Created: 2015-12-13T21:27:03.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-03-03T10:40:52.000Z (over 9 years ago)
- Last Synced: 2025-04-06T09:18:24.866Z (about 1 year ago)
- Language: HTML
- Homepage:
- Size: 3.02 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# iron-video-capture
An element extending the native video element, make it easy to capture a video frame. Usefull for a user to choose a video's image preview.
For now, it just capture the current frame.
## Demo & doc
See the [component page](http://zecat.github.io/iron-video-capture) for more information.
## Installation
```
bower install --save Zecat/iron-video-capture
```
## Warning: provide the video from your domaine
Internally it use a canvas element, due to CORS, the video can not come from an external domaine, otherwise, you'll receive a "Uncaught SecurityError: Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported.". Tell me if you find a solution about that !