{"id":27144088,"url":"https://github.com/frnt-end/react-responsive-video","last_synced_at":"2026-05-10T16:17:42.517Z","repository":{"id":179757180,"uuid":"370006189","full_name":"Frnt-End/React-Responsive-Video","owner":"Frnt-End","description":"⚛️ React Project - How to create Full screen \u0026 responsive video background in REACT - How to guide tutorial 👉  https://frnt-end.github.io/React-Responsive-Video/","archived":false,"fork":false,"pushed_at":"2021-06-07T16:43:54.000Z","size":15186,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-08T08:57:56.411Z","etag":null,"topics":["background","css","css3","easy","engineer","frontend","fullscreen","how-to","html","html5","mp4-video","object-fit","react","reactjs","responsive","simple","tag","tutorial","video"],"latest_commit_sha":null,"homepage":"https://frnt-end.github.io/React-Responsive-Video/","language":"CSS","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/Frnt-End.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-05-23T09:06:01.000Z","updated_at":"2024-05-27T14:22:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"9a4f7dc5-ed61-450a-92a7-275ab73a0437","html_url":"https://github.com/Frnt-End/React-Responsive-Video","commit_stats":null,"previous_names":["frnt-end/react-responsive-video"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Frnt-End/React-Responsive-Video","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frnt-End%2FReact-Responsive-Video","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frnt-End%2FReact-Responsive-Video/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frnt-End%2FReact-Responsive-Video/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frnt-End%2FReact-Responsive-Video/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Frnt-End","download_url":"https://codeload.github.com/Frnt-End/React-Responsive-Video/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frnt-End%2FReact-Responsive-Video/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271302421,"owners_count":24736025,"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","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["background","css","css3","easy","engineer","frontend","fullscreen","how-to","html","html5","mp4-video","object-fit","react","reactjs","responsive","simple","tag","tutorial","video"],"created_at":"2025-04-08T08:57:58.401Z","updated_at":"2026-05-10T16:17:37.486Z","avatar_url":"https://github.com/Frnt-End.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Full Screen Responsive Video in React.js\n\n\nSimple and fast way to make a background video in React\n:point_right: [Watch DEMO](https://frnt-end.github.io/React-Responsive-Video/) \n\n\n## Start\n\nAdd your video file and import it, in this case, we added a file named 'vid-bg.mp4' inside a directory called 'video':\n\n##### `import BgVideo from './video/vid-bg.mp4';`\n\nNow we will embed the video using the `\u003cvideo\u003e` html tag:\n\n\n##### `\u003cvideo autoPlay loop muted className=\"bg-vid\"\u003e\u003csource src={BgVideo} type=\"video/mp4\" /\u003e \u003c/video\u003e`\n\n## Finish\n\nOur last step is setting the **CSS style**:\n\n\n##### `.bg-vid { position: fixed; width: 100%; height: 100%; object-fit: cover; z-index: 0; }`\n\n***\n\n##### And that's it! no third party and no packages..  :statue_of_liberty:\n\n\n***\n\n\n### Learn More\n\nIn this little project, we customized the video to play automatically, in a loop and without sound. for further customization and more information, visit: [w3-tag-video](https://www.w3schools.com/tags/tag_video.asp)\n\n### License\n\nCopyright © 2015 @frnt-end\n[nirit.website](https:///nirit.website)\n\n\n\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrnt-end%2Freact-responsive-video","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrnt-end%2Freact-responsive-video","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrnt-end%2Freact-responsive-video/lists"}