{"id":15293557,"url":"https://github.com/mruvim/videobackground","last_synced_at":"2026-01-05T08:04:33.502Z","repository":{"id":56925950,"uuid":"82227325","full_name":"mruvim/VideoBackground","owner":"mruvim","description":"Lightweight view to display background video","archived":false,"fork":false,"pushed_at":"2019-02-06T05:45:47.000Z","size":75741,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-25T13:21:30.022Z","etag":null,"topics":["ios","swift","xcode"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/mruvim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-16T21:21:15.000Z","updated_at":"2022-10-08T09:35:15.000Z","dependencies_parsed_at":"2022-08-21T05:20:20.776Z","dependency_job_id":null,"html_url":"https://github.com/mruvim/VideoBackground","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mruvim%2FVideoBackground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mruvim%2FVideoBackground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mruvim%2FVideoBackground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mruvim%2FVideoBackground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mruvim","download_url":"https://codeload.github.com/mruvim/VideoBackground/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245294771,"owners_count":20591909,"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":["ios","swift","xcode"],"created_at":"2024-09-30T16:49:57.972Z","updated_at":"2026-01-05T08:04:33.492Z","avatar_url":"https://github.com/mruvim.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VideoBackground\nLightweight video view\n\n\n[![Version](https://img.shields.io/cocoapods/v/VideoBackground.svg?style=flat)](http://cocoapods.org/pods/VideoBackground)\n[![License](https://img.shields.io/cocoapods/l/VideoBackground.svg?style=flat)](http://cocoapods.org/pods/VideoBackground)\n[![Platform](https://img.shields.io/cocoapods/p/VideoBackground.svg?style=flat)](http://cocoapods.org/pods/VideoBackground)\n\n![VideoBackground](http://codingroup.com/assets/external/video-background.gif)\n\n\n## Installation \n####CocoaPods:\nAdd `pod 'VideoBackground', '~\u003e 0.2.0'` to Podfile and run `$ pod install`\n\n\n####Manual:\nAdd files from `VideoBackground/Classes/*` to your project\n\n##How to use it \nImport VideoBackground where you plan to use it then add VideoBackground as subview\n \n```\nlet videoPath = Bundle.main.path(forResource: \"videoFile\", ofType: \"mov\")\nlet imagePath = Bundle.main.path(forResource: \"videoFirstFrame\", ofType: \"jpg\")\nlet options = VideoOptions(pathToVideo: videoPath, pathToImage: imagePath, isMuted: true, shouldLoop: true)\nlet videoView = VideoBackground(frame: view.frame, options: options)\nview.addSubview(videoView)\n```\n\nWhile video is loading image is displayed, when video is ready views crossfade. To try sample project run `pod try VideoBackground` in terminal\n\n\n\n## Requirements\n\nSwift 4.2\n\nCompatible with `iOS 11+`\n\n##Contribution\n\nFound a bug? Please create an [issue](https://github.com/mruvim/VideoBackground/issues) \u003c/br\u003e\nPull requests are welcome\n\n\n## Contact\n\nRuvim Miksanskiy \n\u003ca href=\"mailto:ruva@codingroup.com\"\u003e![Email](http://codingroup.com/assets/external/email-icon.png)\u003c/a\u003e\n\n## License (MIT)\n\nCopyright (c) 2017 -  Ruvim Miksanksiy\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmruvim%2Fvideobackground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmruvim%2Fvideobackground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmruvim%2Fvideobackground/lists"}