{"id":30285524,"url":"https://github.com/phhai1710/videoquickseeking","last_synced_at":"2025-08-16T20:03:18.231Z","repository":{"id":62457751,"uuid":"510098823","full_name":"phhai1710/VideoQuickSeeking","owner":"phhai1710","description":"Youtube-like double tap to forward/rewind animation with ripple effect.","archived":false,"fork":false,"pushed_at":"2024-09-22T18:23:03.000Z","size":55017,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-08-16T20:02:43.226Z","etag":null,"topics":["forward","ios","rewind","ripple","ripple-effect","swift","video-controls","youtube"],"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/phhai1710.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-07-03T18:03:22.000Z","updated_at":"2025-06-14T11:50:14.000Z","dependencies_parsed_at":"2022-11-02T00:17:28.160Z","dependency_job_id":"a84afb44-5dd8-409d-ba1e-91871ae79671","html_url":"https://github.com/phhai1710/VideoQuickSeeking","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/phhai1710/VideoQuickSeeking","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phhai1710%2FVideoQuickSeeking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phhai1710%2FVideoQuickSeeking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phhai1710%2FVideoQuickSeeking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phhai1710%2FVideoQuickSeeking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phhai1710","download_url":"https://codeload.github.com/phhai1710/VideoQuickSeeking/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phhai1710%2FVideoQuickSeeking/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270763461,"owners_count":24641026,"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-16T02:00:11.002Z","response_time":91,"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":["forward","ios","rewind","ripple","ripple-effect","swift","video-controls","youtube"],"created_at":"2025-08-16T20:02:40.311Z","updated_at":"2025-08-16T20:03:18.146Z","avatar_url":"https://github.com/phhai1710.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VideoQuickSeeking\n\n[![Version](https://img.shields.io/cocoapods/v/VideoQuickSeeking.svg?style=flat)](https://cocoapods.org/pods/VideoQuickSeeking)\n[![License](https://img.shields.io/cocoapods/l/VideoQuickSeeking.svg?style=flat)](https://cocoapods.org/pods/VideoQuickSeeking)\n[![Platform](https://img.shields.io/cocoapods/p/VideoQuickSeeking.svg?style=flat)](https://cocoapods.org/pods/VideoQuickSeeking)\n\n![VideoQuickSeeking](https://github.com/phhai1710/VideoQuickSeeking/blob/master/Resources/sample.gif?raw=true)\n\nYoutube-like double tap to forward/rewind animation with ripple effect.\n\nPlease feel free to make pull requests.\n\n  \n## Example\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\n## Requirements\n\n## Installation\n\nVideoQuickSeeking is available through [CocoaPods](https://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod 'VideoQuickSeeking'\n```\n## Usage In Swift\n``` Swift\nlet quickSeekingView = QuickSeekingView(seekingDuration: 10)\n```\nTo achieve ripple effect, add QuickSeekingView onto the top of video player view. Handle double tap gesture of video player view and pass it to QuickSeekingView.\n```Swift\nlet doubleTapGesture = UITapGestureRecognizer(target: self, action: #selector(doubleTap))\ndoubleTapGesture.numberOfTapsRequired = 2\n\u003cvideo_player_view\u003e.addGestureRecognizer(doubleTapGesture)\n\n@objc private func doubleTap(_ sender: UIGestureRecognizer) {\n    let point = sender.location(in: self.quickSeekingView)\n    // Pass touch point to QuickSeekingView here\n}\n```\n\nThe following methods are available on QuickSeekingView.\n\n### 1. setRippleStyle\nSet the expected style of ripple effect\n```Swift\nfunc setRippleStyle(color: UIColor,\n                    withRippleAlpha rippleAlpha: CGFloat, \n                    withBackgroundAlpha backgroundAlpha: CGFloat)\n```\n\n### 2. directionOfPoint\nGet the direction(Forward/Rewind) of the current point\n```Swift\nfunc directionOfPoint(point: CGPoint) -\u003e FRDirection?\n```\n\n### 3. animate\nPerform ripple effect at a specific point\n```Swift\nfunc animate(direction: FRDirection, at point: CGPoint,shouldResetSeekingCounter: Bool = false)\n```\n## Author\n\nHai Pham, phhai1710@gmail.com\n\n## Inspired\nThis project reuse [RippleLayer](https://github.com/twho/material-design-widgets-lite-ios/blob/master/MaterialDesignWidgets/MaterialDesignWidgets/RippleLayer.swift) of [Twho](https://github.com/twho)\n\n## License\n\nVideoQuickSeeking is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphhai1710%2Fvideoquickseeking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphhai1710%2Fvideoquickseeking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphhai1710%2Fvideoquickseeking/lists"}