{"id":28500457,"url":"https://github.com/kaltura/playkit-js","last_synced_at":"2025-07-04T10:31:20.283Z","repository":{"id":21564064,"uuid":"80407629","full_name":"kaltura/playkit-js","owner":"kaltura","description":"State of the Art HTML5 Player","archived":false,"fork":false,"pushed_at":"2025-06-05T12:26:12.000Z","size":53993,"stargazers_count":123,"open_issues_count":15,"forks_count":35,"subscribers_count":22,"default_branch":"master","last_synced_at":"2025-06-05T12:40:45.358Z","etag":null,"topics":["es6","flow-typed","html5","kaltura","player","playkit","playkit-js","video"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kaltura.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-01-30T09:22:52.000Z","updated_at":"2025-06-05T12:26:14.000Z","dependencies_parsed_at":"2025-05-12T15:25:56.082Z","dependency_job_id":"3bcb7de0-5889-4956-98e7-7e507642ac15","html_url":"https://github.com/kaltura/playkit-js","commit_stats":{"total_commits":833,"total_committers":28,"mean_commits":29.75,"dds":0.7683073229291717,"last_synced_commit":"77b9663834906245ad063265bb0ac6a38d4affaf"},"previous_names":[],"tags_count":217,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaltura%2Fplaykit-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaltura%2Fplaykit-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaltura%2Fplaykit-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaltura%2Fplaykit-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kaltura","download_url":"https://codeload.github.com/kaltura/playkit-js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaltura%2Fplaykit-js/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":258730323,"owners_count":22748499,"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":["es6","flow-typed","html5","kaltura","player","playkit","playkit-js","video"],"created_at":"2025-06-08T15:07:08.058Z","updated_at":"2025-07-04T10:31:20.267Z","avatar_url":"https://github.com/kaltura.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PlayKit JS - State of the Art HTML5 Player\n\n[![Build Status](https://github.com/kaltura/playkit-js/actions/workflows/run_canary.yaml/badge.svg)](https://github.com/kaltura/playkit-js/actions/workflows/run_canary.yaml)\n[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)\n[![](https://img.shields.io/npm/v/@playkit-js/playkit-js/latest.svg)](https://www.npmjs.com/package/@playkit-js/playkit-js)\n[![](https://img.shields.io/npm/v/@playkit-js/playkit-js/canary.svg)](https://www.npmjs.com/package/@playkit-js/playkit-js/v/canary)\n\nPlayKit JS is an opinionated JavaScript library to enable seamless video playback across browsers and platforms with support for advanced streaming formats.\n\nIt leverages on HTML5 video, MediaSource Extensions and Encrypted Media Extensions for playback of clear and DRM protected video.\n\nPlayKit JS goal is to make it as easy as possible to stream adaptive bitrate video and audio using modern browser technologies (although we do support progressive :-))\n\nPlayKit JS is the core library to facilitate the handling of different playback formats and features with one interface.\nThe library exposes a mechanism to extend its capabilities via plugins and adapters.\n\nPlayKit JS is written in [ECMAScript6], statically analysed using [Flow] and transpiled in ECMAScript5 using [Babel].\n\n[flow]: https://flow.org/\n[ecmascript6]: https://github.com/ericdouglas/ES6-Learning#articles--tutorials\n[babel]: https://babeljs.io\n\n## Table of Contents\n\n- [Getting Started](#getting-started)\n  - [Installing](#installing)\n  - [Building](#building)\n  - [Embed the Player In Your Test Page](#embed-the-player-in-your-test-page)\n- [Documentation](#documentation)\n- [Running the Tests](#running-the-tests)\n- [Compatibility](#compatibility)\n- [Contributing](#contributing)\n- [Versioning](#versioning)\n- [License](#license)\n\n## Getting Started\n\n### Installing\n\nFirst, clone and run [yarn] to install dependencies:\n\n[yarn]: https://yarnpkg.com/lang/en/\n\n```\ngit clone https://github.com/kaltura/playkit-js.git\ncd playkit-js\nyarn install\n```\n\n### Building\n\nThen, build the player\n\n```javascript\nyarn run build\n```\n\n### Embed the Player In Your Test Page\n\nFinally, add the bundle as a script tag in your page, and initialize the player\n\n```html\n\u003cscript type=\"text/javascript\" src=\"/PATH/TO/FILE/playkit.js\"\u003e\u003c/script\u003e\n\u003cdiv id=\"player-placeholder\" style=\"height:360px;width:640px\"\u003e\n  \u003cscript type=\"text/javascript\"\u003e\n    var playerContainer = document.querySelector(\"#player-placeholder\");\n    var config = {...};\n    var player = playkit.core.loadPlayer(config);\n    playerContainer.appendChild(player.getView());\n    player.play();\n  \u003c/script\u003e\n\u003c/div\u003e\n```\n\n## Documentation\n\n- **[Configuration](docs/configuration.md)**\n- **[API](docs/api.md)**\n\n## Running the Tests\n\nTests can be run locally via [Karma], which will run on Chrome, Firefox and Safari.\n\n[karma]: https://karma-runner.github.io/1.0/index.html\n\n```\nyarn run test\n```\n\nYou can test individual browsers:\n\n```\nyarn run test:chrome\nyarn run test:firefox\nyarn run test:safari\n```\n\n### And Coding Style Tests\n\nWe use ESLint [recommended set](http://eslint.org/docs/rules/) with some additions for enforcing [Flow] types and other rules.\n\nSee [ESLint config](.eslintrc.json) for full configuration.\n\nWe also use [.editorconfig](.editorconfig) to maintain consistent coding styles and settings, please make sure you comply with the styling.\n\n## Compatibility\n\nTBD\n\n## Contributing\n\nPlease read [CONTRIBUTING.md](https://gist.github.com/PurpleBooth/b24679402957c63ec426) for details on our code of conduct, and the process for submitting pull requests to us.\n\n## Versioning\n\nWe use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/kaltura/playkit-js/tags).\n\n## License\n\nThis project is licensed under the AGPL-3.0 License - see the [LICENSE.md](LICENSE.md) file for details\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaltura%2Fplaykit-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaltura%2Fplaykit-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaltura%2Fplaykit-js/lists"}