{"id":15379668,"url":"https://github.com/yisar/oplayer","last_synced_at":"2025-04-15T18:24:21.192Z","repository":{"id":57315696,"uuid":"233379563","full_name":"yisar/oplayer","owner":"yisar","description":":space_invader: react native video player for expo","archived":false,"fork":false,"pushed_at":"2020-01-15T01:26:25.000Z","size":14,"stargazers_count":27,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-28T23:22:09.628Z","etag":null,"topics":["expo","expo-av","react-native","video-player"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/yisar.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":"2020-01-12T11:11:41.000Z","updated_at":"2025-02-21T21:35:57.000Z","dependencies_parsed_at":"2022-09-18T20:52:43.067Z","dependency_job_id":null,"html_url":"https://github.com/yisar/oplayer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yisar%2Foplayer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yisar%2Foplayer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yisar%2Foplayer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yisar%2Foplayer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yisar","download_url":"https://codeload.github.com/yisar/oplayer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249127083,"owners_count":21216917,"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":["expo","expo-av","react-native","video-player"],"created_at":"2024-10-01T14:19:37.029Z","updated_at":"2025-04-15T18:24:21.174Z","avatar_url":"https://github.com/yisar.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# oplayer\n\nreact native video player for expo-av\n\n### Install\n\n```shell\nyarn add oplayer expo-av\n```\n\n### Use\n\n```js\nimport React from 'react'\nimport Oplayer from 'oplayer'\n\nexport default function Player() {\n  return (\n    \u003cOplayer\n      url='./001.mp4' // 播放地址\n      type='m3u8' // 后缀名\n      themeColor='#946ce6' // 默认为 clicli 基佬紫\n      callback={{\n        back // 非全屏状态下返回键回调，一般为路由返回\n      }}\n    /\u003e\n  )\n}\n```\n\n### Screenshot\n\n![oplayer](https://ae01.alicdn.com/kf/H5942e06e812c4ff796ca9c818304ae40M.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyisar%2Foplayer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyisar%2Foplayer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyisar%2Foplayer/lists"}