{"id":21916872,"url":"https://github.com/zenoo/video-input-preview","last_synced_at":"2026-05-07T17:39:21.105Z","repository":{"id":51866341,"uuid":"191370745","full_name":"Zenoo/video-input-preview","owner":"Zenoo","description":"Display a preview for your video inputs","archived":false,"fork":false,"pushed_at":"2021-05-09T10:34:11.000Z","size":499,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-28T06:24:08.544Z","etag":null,"topics":["preview","video","video-input"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Zenoo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-11T12:50:32.000Z","updated_at":"2021-03-31T07:12:48.000Z","dependencies_parsed_at":"2022-08-23T11:41:01.155Z","dependency_job_id":null,"html_url":"https://github.com/Zenoo/video-input-preview","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Zenoo/video-input-preview","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zenoo%2Fvideo-input-preview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zenoo%2Fvideo-input-preview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zenoo%2Fvideo-input-preview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zenoo%2Fvideo-input-preview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zenoo","download_url":"https://codeload.github.com/Zenoo/video-input-preview/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zenoo%2Fvideo-input-preview/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260769781,"owners_count":23060173,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["preview","video","video-input"],"created_at":"2024-11-28T19:21:15.834Z","updated_at":"2026-05-07T17:39:21.072Z","avatar_url":"https://github.com/Zenoo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Video Input Preview ([Demo](https://jsfiddle.net/Zenoo0/zhpbtko9/))\n\nDisplay a preview for your video inputs easily\n\n### Doc\n\n* **Installation**\n\nSimply import video-input-preview into your HTML.\n```\n\u003clink rel=\"stylesheet\" type=\"text/css\" href=\"https://unpkg.com/video-input-preview@0.0.3/VideoInputPreview.min.css\"\u003e\n\u003cscript src=\"https://unpkg.com/video-input-preview@0.0.3/VideoInputPreview.min.js\"\u003e\u003c/script\u003e\n```\n* **Documentation**\n\nSee the offical [documentation](https://zenoo.github.io/video-input-preview/VideoInputPreview.html) for more in-depth informations.\n\n* **How to use**\n\nYou can either use data attributes or the `VideoInputAttribute` class to initialyze your inputs:\n```\n\u003cinput type=\"file\" accept=\"video/*\" data-video-preview=\"https://link.to.your.preview.mp4\"\u003e\n// OR\nlet preview = new VideoInputPreview(input, {\n  preview: 'https://link.to.your/preview.mp4',        // Optional | Preview displayed\n  uploadIcon: 'https://link.to.your.upload/icon.png', // Optional | Icon used when no preview is displayed\n  lang: 'en',                                         // Optional | Language used\n  dictionary: null                                    // Optional | Allow for custom language\n});\n```\n\n* **Methods**\n\nSee the [documentation](https://zenoo.github.io/video-input-preview/VideoInputPreview.html) for the method definitions.\n\n\n* **Example**\n\nSee this [JSFiddle](https://jsfiddle.net/Zenoo0/zhpbtko9/) for a working example\n\n## Authors\n\n* **Zenoo** - *Initial work* - [Zenoo.fr](http://zenoo.fr)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzenoo%2Fvideo-input-preview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzenoo%2Fvideo-input-preview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzenoo%2Fvideo-input-preview/lists"}