{"id":42317130,"url":"https://github.com/yanis-git/io-player","last_synced_at":"2026-01-27T12:24:59.618Z","repository":{"id":32445295,"uuid":"134127691","full_name":"yanis-git/io-player","owner":"yanis-git","description":"Web component - Audio player","archived":false,"fork":false,"pushed_at":"2023-02-02T20:34:43.000Z","size":9290,"stargazers_count":1,"open_issues_count":9,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-14T15:09:04.047Z","etag":null,"topics":["angular","audio-player","webcomponent"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/yanis-git.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":"2018-05-20T07:06:39.000Z","updated_at":"2022-01-03T06:42:05.000Z","dependencies_parsed_at":"2023-02-18T00:16:24.046Z","dependency_job_id":null,"html_url":"https://github.com/yanis-git/io-player","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/yanis-git/io-player","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanis-git%2Fio-player","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanis-git%2Fio-player/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanis-git%2Fio-player/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanis-git%2Fio-player/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yanis-git","download_url":"https://codeload.github.com/yanis-git/io-player/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanis-git%2Fio-player/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28813212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T11:52:46.759Z","status":"ssl_error","status_checked_at":"2026-01-27T11:52:35.059Z","response_time":168,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["angular","audio-player","webcomponent"],"created_at":"2026-01-27T12:24:59.546Z","updated_at":"2026-01-27T12:24:59.614Z","avatar_url":"https://github.com/yanis-git.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IoPlayer - Audio Player web component\n\n[![Netlify Status](https://api.netlify.com/api/v1/badges/2fc24c79-e90b-4d1e-aec5-cd59e144921d/deploy-status)](https://app.netlify.com/sites/io-player/deploys)\n\n[You can see it in action](https://unpkg.com/io-player@1.0.2/index.html)\n[or even here](https://io-player.netlify.app/)\n\n## Requirement\n\n* Angular 13.x.x\n* RxJS 7.x.x\n\n\n## installation\n\n```\nyarn add io-player\nnpm i --save io-player\n```\n\nadd to your `polyfill.ts`\n\n```\nimport '@webcomponents/custom-elements/src/native-shim';\nimport '@webcomponents/custom-elements/custom-elements.min';\n```\n\n## Usage Example as Angular Module\n\nOn your `app.module.ts` add your import :\n\n```\n  import { IoPlayerModule } from 'io-player';\n  // [...]\n  imports: [\n    IoPlayerModule\n  ]\n```\n\n## Usage Example as WebComponent\n\nUse [CDN](https://unpkg.com/io-player@1.0.2/io-player.pkg.jshttps://unpkg.com/io-player@1.0.2/io-player.pkg.js) or `io-player` package then simply consume this component as any Native DOM element\n\n```\n\u003cio-player\n\tsrc=\"https://cchound.ams3.digitaloceanspaces.com/Kontekst%20-%20Destiny.mp3\"\n\tcover=\"https://78.media.tumblr.com/_1524644366_cover.png\"\n\tsong=\"Destiny\"\n\tauthor=\"Kontekst\"\n  \u003e\u003c/io-player\u003e  \n```\n\nIf you need to be award of progression :\n\n```\ndocument.querySelector('io-player').addEventListener('progression', $event =\u003e {\n  console.log($event);\n}, true);\n```\n\n\n## properties : \n \n * **src :** Link to mp3 file.\n * **cover :** Link to cover image file.\n * **song :** Name of the song\n * **author :** Name of author.\n\n## Event : \n\n * **progression:** Pourcentage of current playing sound.\n \n \n## Credit :\n\nSpecial thanks to :\n* [nitayneeman](https://github.com/nitayneeman/made-with-love) for inspiring me about how to build WebComponent.\n* [Valery Alikin](https://codepen.io/AlikinVV/pen/ZxgyoE) who inspire me original design.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanis-git%2Fio-player","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyanis-git%2Fio-player","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanis-git%2Fio-player/lists"}