{"id":18683020,"url":"https://github.com/numbersprotocol/preview-video","last_synced_at":"2025-11-07T18:30:24.064Z","repository":{"id":103178288,"uuid":"464762532","full_name":"numbersprotocol/preview-video","owner":"numbersprotocol","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-27T06:46:23.000Z","size":375,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-27T23:42:29.272Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","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/numbersprotocol.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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}},"created_at":"2022-03-01T05:55:12.000Z","updated_at":"2023-06-18T08:52:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"9ab53bed-d798-43b5-8c48-ecaaf657eba2","html_url":"https://github.com/numbersprotocol/preview-video","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numbersprotocol%2Fpreview-video","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numbersprotocol%2Fpreview-video/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numbersprotocol%2Fpreview-video/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numbersprotocol%2Fpreview-video/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/numbersprotocol","download_url":"https://codeload.github.com/numbersprotocol/preview-video/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239534484,"owners_count":19654881,"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":[],"created_at":"2024-11-07T10:13:31.775Z","updated_at":"2025-11-07T18:30:24.018Z","avatar_url":"https://github.com/numbersprotocol.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @numbersprotocol/preview-video\n\nPreview Video using native iOS, Android players\n\n## Install\n\n```bash\nnpm install @numbersprotocol/preview-video\nnpx cap sync\n```\n\n## API\n\n\u003cdocgen-index\u003e\n\n* [`echo(...)`](#echo)\n* [`create(...)`](#create)\n* [`destroy(...)`](#destroy)\n* [`onScroll(...)`](#onscroll)\n* [Interfaces](#interfaces)\n\n\u003c/docgen-index\u003e\n\n\u003cdocgen-api\u003e\n\u003c!--Update the source file JSDoc comments and rerun docgen to update the docs below--\u003e\n\n### echo(...)\n\n```typescript\necho(options: { value: string; }) =\u003e Promise\u003c{ value: string; }\u003e\n```\n\n| Param         | Type                            |\n| ------------- | ------------------------------- |\n| **`options`** | \u003ccode\u003e{ value: string; }\u003c/code\u003e |\n\n**Returns:** \u003ccode\u003ePromise\u0026lt;{ value: string; }\u0026gt;\u003c/code\u003e\n\n--------------------\n\n\n### create(...)\n\n```typescript\ncreate(_args: CreatePreviewVideoArgs) =\u003e Promise\u003cany\u003e\n```\n\n| Param       | Type                                                                      |\n| ----------- | ------------------------------------------------------------------------- |\n| **`_args`** | \u003ccode\u003e\u003ca href=\"#createpreviewvideoargs\"\u003eCreatePreviewVideoArgs\u003c/a\u003e\u003c/code\u003e |\n\n**Returns:** \u003ccode\u003ePromise\u0026lt;any\u0026gt;\u003c/code\u003e\n\n--------------------\n\n\n### destroy(...)\n\n```typescript\ndestroy(_args: DestroyPreviewVideoArgs) =\u003e Promise\u003cany\u003e\n```\n\n| Param       | Type                                                                        |\n| ----------- | --------------------------------------------------------------------------- |\n| **`_args`** | \u003ccode\u003e\u003ca href=\"#destroypreviewvideoargs\"\u003eDestroyPreviewVideoArgs\u003c/a\u003e\u003c/code\u003e |\n\n**Returns:** \u003ccode\u003ePromise\u0026lt;any\u0026gt;\u003c/code\u003e\n\n--------------------\n\n\n### onScroll(...)\n\n```typescript\nonScroll(args: OnScrollArgs) =\u003e Promise\u003cvoid\u003e\n```\n\n| Param      | Type                                                  |\n| ---------- | ----------------------------------------------------- |\n| **`args`** | \u003ccode\u003e\u003ca href=\"#onscrollargs\"\u003eOnScrollArgs\u003c/a\u003e\u003c/code\u003e |\n\n--------------------\n\n\n### Interfaces\n\n\n#### CreatePreviewVideoArgs\n\n| Prop          | Type                                                              |\n| ------------- | ----------------------------------------------------------------- |\n| **`id`**      | \u003ccode\u003estring\u003c/code\u003e                                               |\n| **`src`**     | \u003ccode\u003estring\u003c/code\u003e                                               |\n| **`element`** | \u003ccode\u003eHTMLElement\u003c/code\u003e                                          |\n| **`config`**  | \u003ccode\u003e\u003ca href=\"#previewvideoconfig\"\u003ePreviewVideoConfig\u003c/a\u003e\u003c/code\u003e |\n\n\n#### PreviewVideoConfig\n\n| Prop         | Type                | Description                                                     |\n| ------------ | ------------------- | --------------------------------------------------------------- |\n| **`width`**  | \u003ccode\u003enumber\u003c/code\u003e | Override width for native Video Player                          |\n| **`height`** | \u003ccode\u003enumber\u003c/code\u003e | Override height for native Video Player                         |\n| **`x`**      | \u003ccode\u003enumber\u003c/code\u003e | Override absolute x coordinate position for native Video Player |\n| **`y`**      | \u003ccode\u003enumber\u003c/code\u003e | Override absolute y coordinate position for native Video Player |\n\n\n#### DestroyPreviewVideoArgs\n\n| Prop     | Type                |\n| -------- | ------------------- |\n| **`id`** | \u003ccode\u003estring\u003c/code\u003e |\n\n\n#### OnScrollArgs\n\n| Prop                     | Type                                                                  |\n| ------------------------ | --------------------------------------------------------------------- |\n| **`id`**                 | \u003ccode\u003estring\u003c/code\u003e                                                   |\n| **`previewVideoBounds`** | \u003ccode\u003e{ x: number; y: number; width: number; height: number; }\u003c/code\u003e |\n\n\u003c/docgen-api\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumbersprotocol%2Fpreview-video","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnumbersprotocol%2Fpreview-video","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumbersprotocol%2Fpreview-video/lists"}