{"id":21224302,"url":"https://github.com/sam-parsons/dash-react","last_synced_at":"2025-03-15T01:40:57.085Z","repository":{"id":41306834,"uuid":"324070742","full_name":"sam-parsons/dash-react","owner":"sam-parsons","description":"react/dash.js integration component","archived":false,"fork":false,"pushed_at":"2021-01-16T04:47:13.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-21T17:34:51.003Z","etag":null,"topics":["dashjs","react","react-testing-library","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/dash-react","language":"TypeScript","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/sam-parsons.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}},"created_at":"2020-12-24T05:08:29.000Z","updated_at":"2022-10-25T10:47:56.000Z","dependencies_parsed_at":"2022-09-03T12:30:21.220Z","dependency_job_id":null,"html_url":"https://github.com/sam-parsons/dash-react","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/sam-parsons%2Fdash-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sam-parsons%2Fdash-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sam-parsons%2Fdash-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sam-parsons%2Fdash-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sam-parsons","download_url":"https://codeload.github.com/sam-parsons/dash-react/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243672369,"owners_count":20328762,"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":["dashjs","react","react-testing-library","typescript"],"created_at":"2024-11-20T22:57:45.405Z","updated_at":"2025-03-15T01:40:57.064Z","avatar_url":"https://github.com/sam-parsons.png","language":"TypeScript","readme":"# dash-react \u003csub\u003ev1.0\u003c/sub\u003e\n\nreact/dash.js integration component - full DASH settings support\u003csub\u003ev1.1\u003c/sub\u003e\n\n## Install\n\n```bash\nnpm install dash-react\n```\n\n## Usage\n\n```js | pure\nimport React from 'react';\nimport DASH from 'dash-react';\n\nclass VideoPlayer extends React.Component {\n  render() {\n    return (\n      \u003cDASH \n        className={\"class-name\"}\n        controls={true}\n        autoPlay={true}\n        url={\"url.mpd\"}\n        options={this.props.options} // see src/types/\n      /\u003e\n    );\n  }\n}\n\nexport default VideoPlayer;\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsam-parsons%2Fdash-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsam-parsons%2Fdash-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsam-parsons%2Fdash-react/lists"}