{"_id":"@annoto/mux-player","name":"@annoto/mux-player","dist-tags":{"latest":"3.2.4"},"versions":{"3.2.4":{"name":"@annoto/mux-player","version":"3.2.4","description":"An open source Mux player web component that Just Works™","homepage":"https://mux.com/player","keywords":["video","mux","player","hls","web-component"],"main":"./dist/index.cjs.js","module":"./dist/index.mjs","browser":"./dist/index.mjs","unpkg":"./dist/mux-player.js","jsdelivr":"./dist/mux-player.js","typesVersions":{"<4.3.5":{".":["./dist/types-ts3.4/index.d.ts"]},"*":{".":["./dist/types/index.d.ts"]}},"exports":{".":{"types@<4.3.5":"./dist/types-ts3.4/index.d.ts","types":"./dist/types/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs.js","default":"./dist/index.cjs.js"},"./themes/microvideo":{"browser":"./dist/themes/microvideo/index.mjs","import":"./dist/themes/microvideo/index.mjs","require":"./dist/themes/microvideo/index.cjs.js","default":"./dist/themes/microvideo/index.cjs.js"},"./themes/minimal":{"browser":"./dist/themes/minimal/index.mjs","import":"./dist/themes/minimal/index.mjs","require":"./dist/themes/minimal/index.cjs.js","default":"./dist/themes/minimal/index.cjs.js"},"./themes/classic":{"browser":"./dist/themes/classic/index.mjs","import":"./dist/themes/classic/index.mjs","require":"./dist/themes/classic/index.cjs.js","default":"./dist/themes/classic/index.cjs.js"},"./themes/gerwig":{"browser":"./dist/themes/gerwig/index.mjs","import":"./dist/themes/gerwig/index.mjs","require":"./dist/themes/gerwig/index.cjs.js","default":"./dist/themes/gerwig/index.cjs.js"}},"types":"./dist/types/index.d.ts","repository":{"type":"git","url":"git+https://github.com/muxinc/elements.git","directory":"packages/mux-player"},"author":{"name":"Mux, Inc."},"license":"MIT","scripts":{"clean":"shx rm -rf dist/ && shx rm -rf src/polyfills","lint":"ESLINT_USE_FLAT_CONFIG=false eslint src/ --ext .js,.jsx,.ts,.tsx","test:saucelabs":"web-test-runner **/*test.js --port 8001 --coverage --config test/web-test-runner.saucelabs.config.mjs --root-dir ../..","test":"web-test-runner **/*test.js --port 8001 --coverage --config test/web-test-runner.config.mjs --root-dir ../..","posttest":"replace 'SF:src/' 'SF:packages/mux-player/src/' coverage/lcov.info --silent","i18n":"yarn build:esm --keep-names && i18n-utils dist/index.mjs ./lang","dev:iife":"yarn build:iife --watch=forever","dev:esm":"yarn build:esm --watch=forever","dev:esm-module":"yarn build:esm-module --watch=forever","dev:cjs":"yarn build:cjs --watch=forever","dev:types":"yarn build:types -w","dev:themes":"yarn node ./scripts/build-themes.mjs --dev","dev":"npm-run-all --parallel dev:types dev:esm dev:cjs dev:esm-module dev:iife dev:themes","build:esm":"esbuilder src/index.ts --format=esm --out-extension:.js=.mjs","build:esm-module":"esbuilder src/index.ts --format=esm-module --outfile=dist/mux-player.mjs","build:iife":"esbuilder src/index.ts --format=iife --outfile=dist/mux-player.js","build:cjs":"esbuilder src/index.ts --format=cjs --out-extension:.js=.cjs.js","build:themes":"yarn node ./scripts/build-themes.mjs","copypolyfills":"shx mkdir -p src/polyfills && shx cp ../../shared/polyfills/index.ts ./src/polyfills/index.ts","build:types":"tsc","postbuild:types":"downlevel-dts ./dist/types ./dist/types-ts3.4","build":"npm-run-all --parallel 'build:esm --minify' 'build:iife --minify' 'build:cjs --minify' 'build:esm-module --minify' 'build:themes'"},"dependencies":{"@mux/mux-video":"0.24.2","@mux/playback-core":"0.28.2","media-chrome":"~4.3.0","player.style":"^0.1.1"},"devDependencies":{"@mux/esbuilder":"0.1.0","@open-wc/testing":"^4.0.0","@typescript-eslint/eslint-plugin":"^8.18.1","@typescript-eslint/parser":"^8.18.1","@web/dev-server-esbuild":"^1.0.3","@web/dev-server-import-maps":"^0.2.1","@web/dev-server-legacy":"^2.1.1","@web/test-runner":"^0.19.0","@web/test-runner-playwright":"^0.11.0","@web/test-runner-saucelabs":"^0.11.2","downlevel-dts":"^0.11.0","esbuild":"^0.24.1","eslint":"^9.17.0","hls.js":"~1.5.18","npm-run-all":"^4.1.5","replace":"^1.2.1","shx":"^0.3.4","typescript":"^5.7.2"},"_id":"@annoto/mux-player@3.2.4","gitHead":"d9e25931579e51b5b444294577ae3a3b40a5d1d4","bugs":{"url":"https://github.com/muxinc/elements/issues"},"_nodeVersion":"22.9.0","_npmVersion":"10.8.3","dist":{"integrity":"sha512-u4MI+OsRaS/G+dn1UsgJJunQKIgg5q+Gt8qGGWjIPZ2LKnR9Wbt/nSHW9bY7jLyEepE0FtVDic550SpRq2s6DA==","shasum":"695956dcfc49de5bc68f672284b13a09e827fe82","tarball":"https://registry.npmjs.org/@annoto/mux-player/-/mux-player-3.2.4.tgz","fileCount":45,"unpackedSize":5896275,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFeVCB0yblqJfWRjrNxwcP7aDcDA3elaO4iYH8MzQdpkAiBJsu4p4pyZ9xfmQFrJWGQjpfU56j9kVAaR+Mi8at7B8g=="}]},"_npmUser":{"name":"genadi","email":"Genadi@annoto.net"},"directories":{},"maintainers":[{"name":"genadi","email":"Genadi@annoto.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mux-player_3.2.4_1735246964685_0.27980094441675507"},"_hasShrinkwrap":false}},"time":{"created":"2024-12-26T21:02:44.579Z","3.2.4":"2024-12-26T21:02:44.981Z","modified":"2024-12-26T21:02:45.281Z"},"maintainers":[{"name":"genadi","email":"Genadi@annoto.net"}],"description":"An open source Mux player web component that Just Works™","homepage":"https://mux.com/player","keywords":["video","mux","player","hls","web-component"],"repository":{"type":"git","url":"git+https://github.com/muxinc/elements.git","directory":"packages/mux-player"},"author":{"name":"Mux, Inc."},"bugs":{"url":"https://github.com/muxinc/elements/issues"},"license":"MIT","readme":"<p align=\"center\">\n  <h1 align=\"center\">&lt;mux-player&gt;</h1>\n  <a href=\"https://npmcharts.com/compare/@mux/mux-player?interval=30\"><img src=\"https://img.shields.io/npm/dm/@mux/mux-player.svg?sanitize=true\" alt=\"Downloads\"></a>\n    <a href=\"https://www.npmjs.com/package/@mux/mux-player\"><img src=\"https://img.shields.io/npm/v/@mux/mux-player.svg?sanitize=true\" alt=\"Version\"></a>\n    <a href=\"https://www.npmjs.com/package/@mux/mux-player\"><img src=\"https://img.shields.io/npm/l/@mux/mux-player.svg?sanitize=true\" alt=\"License\"></a>\n</p>\n\n# New release: 3.0\n\nMux Player recently released 3.0. The most visible change in this is new tooltips that are enabled by default, as well as [other fixes and changes](https://docs.mux.com/guides/player-releases-web#300).\n\n## Previous version: 2.0\n\nFor changes relating to the previous major release, 2.0, see the [V1 to V2 upgrade guide](https://github.com/muxinc/elements/blob/main/packages/mux-player/UPGRADING_V1_to_V2.md) and the [blog post announcement](https://www.mux.com/blog/mux-player-2-0-for-web-and-coming-soon-for-ios-and-android).\n\n# Introduction\n\n`<mux-player>` is the official Mux-flavored video player web component.\n\nThe player UI is built on [Media Chrome](https://media-chrome.org) and [`<mux-video>`](../mux-video) drives the core video logic used to play Mux Video content.\n\n# Installation\n\n```shell\nnpm install @mux/mux-player\n```\n\nor\n\n```shell\nyarn add @mux/mux-player\n```\n\n# Usage\n\n```html\n<mux-player\n  playback-id=\"DS00Spx1CV902MCtPj5WknGlR102V5HFkDe\"\n  metadata-video-title=\"Big Buck Bunny\"\n  metadata-viewer-user-id=\"user-id-1234\"\n></mux-player>\n```\n\n# Docs\n\nDocs and guides live on [docs.mux.com](https://docs.mux.com/guides/video/mux-player?utm_source=github-mux-player).\n\nAPI reference lives [on Github](./REFERENCE.md).\n","readmeFilename":"README.md"}