{"id":13805166,"url":"https://github.com/luwes/playerx","last_synced_at":"2025-04-08T03:12:27.122Z","repository":{"id":37526478,"uuid":"240040445","full_name":"luwes/playerx","owner":"luwes","description":"Media Player Web Component - Uniform Player API - Supports HLS, Dash, Mux, Vimeo, YouTube, JW Player, Wistia","archived":false,"fork":false,"pushed_at":"2024-07-19T22:49:11.000Z","size":10037,"stargazers_count":114,"open_issues_count":5,"forks_count":14,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-31T18:19:05.166Z","etag":null,"topics":["dash","hls","jwplayer","mux","video","vimeo","wistia","youtube"],"latest_commit_sha":null,"homepage":"https://dev.playerx.io","language":"JavaScript","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/luwes.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["luwes"]}},"created_at":"2020-02-12T15:01:12.000Z","updated_at":"2025-03-27T01:13:09.000Z","dependencies_parsed_at":"2023-12-14T19:41:38.600Z","dependency_job_id":"a52ec9df-9e04-4a51-8a8c-634eea6e02cf","html_url":"https://github.com/luwes/playerx","commit_stats":{"total_commits":786,"total_committers":5,"mean_commits":157.2,"dds":"0.0050890585241730735","last_synced_commit":"43649427721336360e2f96f62688f0eee6c2748f"},"previous_names":["playerxo/playerx"],"tags_count":60,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luwes%2Fplayerx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luwes%2Fplayerx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luwes%2Fplayerx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luwes%2Fplayerx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luwes","download_url":"https://codeload.github.com/luwes/playerx/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247767236,"owners_count":20992548,"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":["dash","hls","jwplayer","mux","video","vimeo","wistia","youtube"],"created_at":"2024-08-04T01:00:58.192Z","updated_at":"2025-04-08T03:12:27.104Z","avatar_url":"https://github.com/luwes.png","language":"JavaScript","funding_links":["https://github.com/sponsors/luwes"],"categories":["Real World","HarmonyOS","JavaScript"],"sub_categories":["Components","Windows Manager"],"readme":"# \u003ca href=\"https://github.com/luwes/playerx\"\u003e\u003cimg src=\"https://dev.playerx.io/images/playerx-logo.svg?sanitize=true\" height=\"36\" alt=\"playerx\" /\u003e\u003c/a\u003e\n\n[![NPM Version](https://img.shields.io/npm/v/playerx?style=flat-square\u0026color=informational)](https://www.npmjs.com/package/playerx) \n[![NPM Downloads](https://img.shields.io/npm/dm/playerx?style=flat-square\u0026color=informational\u0026label=npm)](https://www.npmjs.com/package/playerx) \n[![jsDelivr hits (npm)](https://img.shields.io/jsdelivr/npm/hm/playerx?style=flat-square\u0026color=%23FF5627)](https://www.jsdelivr.com/package/npm/playerx)\n[![npm bundle size](https://img.shields.io/bundlephobia/minzip/playerx?style=flat-square\u0026color=success\u0026label=gzip)](https://bundlephobia.com/result?p=playerx) \n\n**npm**: `npm i playerx`  \n**cdn**: https://cdn.jsdelivr.net/npm/playerx/+esm  \n\n## Features\n\n- 🏄‍♂️ Compatible [`HTMLMediaElement`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement) API\n- 🕺 Seamlessly integrates with [Media Chrome](https://github.com/muxinc/media-chrome)\n\n\n## Usage ([Codesandbox](https://codesandbox.io/s/hello-playerx-22ku4))\n\n```html\n\u003cscript type=\"module\" src=\"https://cdn.jsdelivr.net/npm/playerx/+esm\"\u003e\u003c/script\u003e\n\u003cplayer-x src=\"https://vimeo.com/638369396\" controls\u003e\u003c/player-x\u003e\n```\n\nDemo page: [dev.playerx.io/demo](https://dev.playerx.io/demo/)\n\n\n## Supported media\n\n* Mux videos use the [Mux Player API](https://github.com/muxinc/elements/blob/main/packages/mux-player/REFERENCE.md)\n* YouTube videos use the [YouTube iFrame Player API](https://developers.google.com/youtube/iframe_api_reference)\n* Vimeo videos use the [Vimeo Player API](https://developer.vimeo.com/player/sdk)\n* Wistia videos use the [Wistia Player API](https://wistia.com/doc/player-api)\n* JW Player videos use the [JW Player API](https://developer.jwplayer.com/jwplayer/docs/jw8-javascript-api-reference)\n* [Supported file types](https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats) are playing using [`\u003cvideo\u003e`](https://developer.mozilla.org/en/docs/Web/HTML/Element/video) or [`\u003caudio\u003e`](https://developer.mozilla.org/en/docs/Web/HTML/Element/audio) elements\n  * HLS streams are played using [`hls.js`](https://github.com/video-dev/hls.js)\n  * DASH streams are played using [`dash.js`](https://github.com/Dash-Industry-Forum/dash.js)\n\n\n## Related\n\n- [Media Chrome](https://github.com/muxinc/media-chrome) Your media player's dancing suit. 🕺\n- [`media-group`](https://github.com/luwes/media-group) Sync and control multiple audio and/or video elements.\n- [`castable-video`](https://github.com/muxinc/castable-video) Cast your video element to the big screen with ease!\n- [`\u003cyoutube-video\u003e`](https://github.com/muxinc/youtube-video-element) A web component for the YouTube player.\n- [`\u003cvideojs-video\u003e`](https://github.com/luwes/videojs-video-element) A web component for Video.js.\n- [`\u003cwistia-video\u003e`](https://github.com/luwes/wistia-video-element) A web component for the Wistia player.\n- [`\u003cvimeo-video\u003e`](https://github.com/luwes/vimeo-video-element) A web component for the Vimeo player.\n- [`\u003cjwplayer-video\u003e`](https://github.com/luwes/jwplayer-video-element) A web component for the JW player.\n- [`\u003chls-video\u003e`](https://github.com/muxinc/hls-video-element) A web component for playing HTTP Live Streaming (HLS) videos.\n- [`\u003cmux-player\u003e`](https://github.com/muxinc/elements/tree/main/packages/mux-player) The official Mux-flavored video player web component.\n- [`\u003cmux-video\u003e`](https://github.com/muxinc/elements/tree/main/packages/mux-video) A Mux-flavored HTML5 video element w/ hls.js and Mux data builtin.\n\n\n## Big Thanks\n\nTo all the services that offered free plans for building, testing and measuring!\n\n- [Mux](https://mux.com/)\n- [Cloudflare](https://www.cloudflare.com/)\n- [JW Player](https://www.jwplayer.com/)\n- [Github](https://github.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluwes%2Fplayerx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluwes%2Fplayerx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluwes%2Fplayerx/lists"}