Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zenoo/video-input-preview
Display a preview for your video inputs
https://github.com/zenoo/video-input-preview
preview video video-input
Last synced: about 1 month ago
JSON representation
Display a preview for your video inputs
- Host: GitHub
- URL: https://github.com/zenoo/video-input-preview
- Owner: Zenoo
- License: mit
- Created: 2019-06-11T12:50:32.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-09T10:34:11.000Z (over 3 years ago)
- Last Synced: 2024-11-21T06:49:23.899Z (about 1 month ago)
- Topics: preview, video, video-input
- Language: JavaScript
- Homepage:
- Size: 487 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Video Input Preview ([Demo](https://jsfiddle.net/Zenoo0/zhpbtko9/))
Display a preview for your video inputs easily
### Doc
* **Installation**
Simply import video-input-preview into your HTML.
``````
* **Documentation**See the offical [documentation](https://zenoo.github.io/video-input-preview/VideoInputPreview.html) for more in-depth informations.
* **How to use**
You can either use data attributes or the `VideoInputAttribute` class to initialyze your inputs:
```// OR
let preview = new VideoInputPreview(input, {
preview: 'https://link.to.your/preview.mp4', // Optional | Preview displayed
uploadIcon: 'https://link.to.your.upload/icon.png', // Optional | Icon used when no preview is displayed
lang: 'en', // Optional | Language used
dictionary: null // Optional | Allow for custom language
});
```* **Methods**
See the [documentation](https://zenoo.github.io/video-input-preview/VideoInputPreview.html) for the method definitions.
* **Example**
See this [JSFiddle](https://jsfiddle.net/Zenoo0/zhpbtko9/) for a working example
## Authors
* **Zenoo** - *Initial work* - [Zenoo.fr](http://zenoo.fr)