{"id":26112960,"url":"https://github.com/baskvava/react-video-modal","last_synced_at":"2025-07-14T23:08:42.889Z","repository":{"id":192462964,"uuid":"687172816","full_name":"baskvava/react-video-modal","owner":"baskvava","description":"Lightweight and extensible react video modal.","archived":false,"fork":false,"pushed_at":"2023-10-24T02:19:41.000Z","size":6795,"stargazers_count":4,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-19T00:11:37.699Z","etag":null,"topics":["react","react-component-library","react-modal","react-modal-video","react-video","react-video-modal","video"],"latest_commit_sha":null,"homepage":"https://baskvava.github.io/react-video-modal/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/baskvava.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-09-04T19:38:41.000Z","updated_at":"2025-02-26T05:01:33.000Z","dependencies_parsed_at":"2023-10-15T02:32:44.380Z","dependency_job_id":null,"html_url":"https://github.com/baskvava/react-video-modal","commit_stats":null,"previous_names":["baskvava/react-video-modal"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/baskvava/react-video-modal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baskvava%2Freact-video-modal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baskvava%2Freact-video-modal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baskvava%2Freact-video-modal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baskvava%2Freact-video-modal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/baskvava","download_url":"https://codeload.github.com/baskvava/react-video-modal/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baskvava%2Freact-video-modal/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265365698,"owners_count":23753379,"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":["react","react-component-library","react-modal","react-modal-video","react-video","react-video-modal","video"],"created_at":"2025-03-10T03:54:15.834Z","updated_at":"2025-07-14T23:08:42.868Z","avatar_url":"https://github.com/baskvava.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React-Video-Modal [![NPM Version](https://img.shields.io/badge/npm-v_0.1.0_alpha-blue)](https://www.npmjs.com/package/@baskvava/react-video-modal) ![PRs Welcome](https://img.shields.io/badge/PRs-welcome-green.svg)\n\n\u003e This is a react library for a video inside of a modal\n\n**[Documents and Demo](https://baskvava.github.io/react-video-modal/)**\n\n## Installation\n\n```bash\nnpm install @baskvava/react-video-modal\n```\n\nor\n\n```bash\nyarn add @baskvava/react-video-modal\n```\n\n\u003cimg src=\"https://baskvava.github.io/portfolio/react-video-modal.png\" title=\"demo\" /\u003e\n\n## Example\n\n```js\nimport React, { useState } from \"react\";\nimport { ModalVideo, useToggle } from \"@baskvava/react-video-modal\";\n\nfunction App() {\n  const { isOpen, toggle, close } = useToggle();\n\n  return (\n    \u003cdiv className=\"App\"\u003e\n      \u003cbutton onClick={toggle}\u003eOpen Video Modal\u003c/button\u003e\n      \u003cModalVideo\n        title=\"video\"\n        header=\"Fixed width Video\"\n        width={800}\n        isOpen={isOpen}\n        onClosed={close}\n        url=\"https://storage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4\"\n      /\u003e\n    \u003c/div\u003e\n  );\n}\nexport default App;\n```\n\n## Local ENV\n\ninstall the node package\n\n```bash\nyarn install\n```\n\nrun example\n\n```bash\nyarn dev\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaskvava%2Freact-video-modal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaskvava%2Freact-video-modal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaskvava%2Freact-video-modal/lists"}