{"_id":"@bitmovin/player-web-integration-cmcd","_rev":"15-83a582f2d014f0a541225c25880846ff","name":"@bitmovin/player-web-integration-cmcd","dist-tags":{"latest":"0.6.0"},"versions":{"0.3.0":{"name":"@bitmovin/player-web-integration-cmcd","version":"0.3.0","author":{"name":"Bitmovin"},"license":"MIT","_id":"@bitmovin/player-web-integration-cmcd@0.3.0","maintainers":[{"name":"bitadmin","email":"admin@bitmovin.com"}],"homepage":"https://github.com/bitmovin/bitmovin-player-web-integration-cmcd#readme","bugs":{"url":"https://github.com/bitmovin/bitmovin-player-web-integration-cmcd/issues"},"dist":{"shasum":"2911b6b3cb1753d5d47d1c15e6f059a8bc0196e5","tarball":"https://registry.npmjs.org/@bitmovin/player-web-integration-cmcd/-/player-web-integration-cmcd-0.3.0.tgz","fileCount":11,"integrity":"sha512-mbfC+Y5Oel9ZV9Qv6HrVOHSPHPu9itBhMvjaefqPopVQTljM2U1FFunXQozO9hdlWRzBD+sMcf57JLvFU71o/w==","signatures":[{"sig":"MEYCIQDqZDCVJtVNNsLEEEIUYYNdbFfxrDGosasoCOqKgUndLwIhALAv76ueEPFrI5ASj5IHXWghtvhqv/8NAMnSkC5pSAe0","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":58368},"main":"dist/js/bitmovin-player-integration-cmcd.js","types":"dist/js/CmcdIntegration.d.ts","browser":"dist/js/bitmovin-player-integration-cmcd.js","gitHead":"8d83e351d46062e5ae9a7a33a077183b5f497cb8","scripts":{"test":"jest","build":"webpack --config tooling/webpack.prod.js","clean":"rm -R dist/js","debug":"webpack --config tooling/webpack.dev.js","start":"webpack serve --open --config tooling/webpack.dev.js","format":"prettier --write src/ test/","prepare":"husky install","test-watch":"jest --watch"},"_npmUser":{"name":"bitadmin","email":"admin@bitmovin.com"},"repository":{"url":"git+ssh://git@github.com/bitmovin/bitmovin-player-web-integration-cmcd.git","type":"git"},"_npmVersion":"10.8.2","description":"Conviva analytics integration for the Bitmovin Player","directories":{},"lint-staged":{"**/*.{ts,js}":"prettier --write --ignore-unknown","CHANGELOG.md":"kacl lint --filename"},"_nodeVersion":"18.20.7","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.4.2","kacl":"^1.1.1","husky":"^8.0.3","semver":"^7.6.3","ts-jest":"^29.0.5","webpack":"^5.75.0","prettier":"^2.8.4","ts-loader":"^9.4.2","typescript":"^4.9.5","lint-staged":"^13.1.1","webpack-cli":"^5.0.1","@jest/globals":"^29.4.2","webpack-merge":"^5.8.0","changelog-parser":"^3.0.1","webpack-dev-server":"^4.11.1","jest-environment-jsdom":"^29.4.2"},"peerDependencies":{"bitmovin-player":"^8.104.0"},"_npmOperationalInternal":{"tmp":"tmp/player-web-integration-cmcd_0.3.0_1742958113514_0.32274315371408724","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@bitmovin/player-web-integration-cmcd","version":"0.4.0","author":{"name":"Bitmovin"},"license":"MIT","_id":"@bitmovin/player-web-integration-cmcd@0.4.0","maintainers":[{"name":"bitadmin","email":"admin@bitmovin.com"}],"homepage":"https://github.com/bitmovin/bitmovin-player-web-integration-cmcd#readme","bugs":{"url":"https://github.com/bitmovin/bitmovin-player-web-integration-cmcd/issues"},"dist":{"shasum":"0f5e3ff61593b85fbffb7731102419e377fa2aa0","tarball":"https://registry.npmjs.org/@bitmovin/player-web-integration-cmcd/-/player-web-integration-cmcd-0.4.0.tgz","fileCount":11,"integrity":"sha512-H47MpU2H9YBk76RPxYX0A1tRLjZ3uN1c1m6rsOlEsgYXajAGfxWXICtWjeHk87nUp1loEv/s8MqtRbXnO0OPCA==","signatures":[{"sig":"MEUCICbDFkbjqw8aAAoz/j3lC8q7hl57mEKsm1YR7pbs3zzhAiEA3f+fJNToERnhsP/ZLhegBqDFFnH87X65sfzBd0eW6xY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":60902},"main":"dist/js/bitmovin-player-integration-cmcd.js","types":"dist/js/CmcdIntegration.d.ts","browser":"dist/js/bitmovin-player-integration-cmcd.js","gitHead":"6512b4ecd2d1d62448cb913f5a1a18a929a3f6d5","scripts":{"test":"jest","build":"webpack --config tooling/webpack.prod.js","clean":"rm -R dist/js","debug":"webpack --config tooling/webpack.dev.js","start":"webpack serve --open --config tooling/webpack.dev.js","format":"prettier --write src/ test/","prepare":"husky install","test-watch":"jest --watch"},"_npmUser":{"name":"bitadmin","email":"admin@bitmovin.com"},"repository":{"url":"git+ssh://git@github.com/bitmovin/bitmovin-player-web-integration-cmcd.git","type":"git"},"_npmVersion":"10.8.2","description":"Conviva analytics integration for the Bitmovin Player","directories":{},"lint-staged":{"**/*.{ts,js}":"prettier --write --ignore-unknown","CHANGELOG.md":"kacl lint --filename"},"_nodeVersion":"18.20.8","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.4.2","kacl":"^1.1.1","husky":"^8.0.3","semver":"^7.6.3","ts-jest":"^29.0.5","webpack":"^5.76.0","prettier":"^2.8.4","ts-loader":"^9.4.2","typescript":"^4.9.5","lint-staged":"^13.1.1","webpack-cli":"^5.0.1","@jest/globals":"^29.4.2","webpack-merge":"^5.8.0","changelog-parser":"^3.0.1","webpack-dev-server":"^5.2.1","jest-environment-jsdom":"^29.4.2"},"peerDependencies":{"bitmovin-player":"^8.104.0"},"_npmOperationalInternal":{"tmp":"tmp/player-web-integration-cmcd_0.4.0_1764597921688_0.903444085333102","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@bitmovin/player-web-integration-cmcd","version":"0.5.0","author":{"name":"Bitmovin"},"license":"MIT","_id":"@bitmovin/player-web-integration-cmcd@0.5.0","maintainers":[{"name":"bitadmin","email":"admin@bitmovin.com"}],"homepage":"https://github.com/bitmovin/bitmovin-player-web-integration-cmcd#readme","bugs":{"url":"https://github.com/bitmovin/bitmovin-player-web-integration-cmcd/issues"},"dist":{"shasum":"93fa3fe50ffd01308fcbaa2005ad0edcf6608617","tarball":"https://registry.npmjs.org/@bitmovin/player-web-integration-cmcd/-/player-web-integration-cmcd-0.5.0.tgz","fileCount":11,"integrity":"sha512-+UYFa1nmUnaDJW9dD7wJG1mYcmGiwG87DG0D31CvXZ/hGntj1cg2P9Ivtx067A7H1O++L0jD0Z7ptKykIn5ieQ==","signatures":[{"sig":"MEQCIDKOLPMfAH3taQZ2d4jEZ4OI01T7yhErhpL+ZSOaySNrAiAD1xQ7X8MguOZ8uyDvFhORoWs66jYBHXYiQphS+K4o0w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":64810},"main":"dist/js/bitmovin-player-integration-cmcd.js","types":"dist/js/CmcdIntegration.d.ts","browser":"dist/js/bitmovin-player-integration-cmcd.js","gitHead":"40de33daf1380b13b0cb2bfc7e071f9ae76b688a","scripts":{"test":"jest","build":"webpack --config tooling/webpack.prod.js","clean":"rm -R dist/js","debug":"webpack --config tooling/webpack.dev.js","start":"webpack serve --open --config tooling/webpack.dev.js","format":"prettier --write src/ test/","prepare":"husky install","test-watch":"jest --watch"},"_npmUser":{"name":"bitadmin","email":"admin@bitmovin.com"},"repository":{"url":"git+ssh://git@github.com/bitmovin/bitmovin-player-web-integration-cmcd.git","type":"git"},"_npmVersion":"11.6.0","description":"Conviva analytics integration for the Bitmovin Player","directories":{},"lint-staged":{"**/*.{ts,js}":"prettier --write --ignore-unknown","CHANGELOG.md":"kacl lint --filename"},"_nodeVersion":"24.9.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.4.2","kacl":"^1.1.1","husky":"^8.0.3","semver":"^7.6.3","ts-jest":"^29.0.5","webpack":"^5.76.0","prettier":"^2.8.4","ts-loader":"^9.4.2","typescript":"^4.9.5","lint-staged":"^13.1.1","webpack-cli":"^5.0.1","@jest/globals":"^29.4.2","webpack-merge":"^5.8.0","changelog-parser":"^3.0.1","webpack-dev-server":"^5.2.1","jest-environment-jsdom":"^29.4.2"},"peerDependencies":{"bitmovin-player":"^8.104.0"},"_npmOperationalInternal":{"tmp":"tmp/player-web-integration-cmcd_0.5.0_1768388682226_0.8423540688069626","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@bitmovin/player-web-integration-cmcd","version":"0.6.0","author":{"name":"Bitmovin"},"license":"MIT","_id":"@bitmovin/player-web-integration-cmcd@0.6.0","maintainers":[{"name":"bitadmin","email":"admin@bitmovin.com"},{"name":"lkroepfl","email":"lukas.kroepfl@bitmovin.com"}],"homepage":"https://github.com/bitmovin/bitmovin-player-web-integration-cmcd#readme","bugs":{"url":"https://github.com/bitmovin/bitmovin-player-web-integration-cmcd/issues"},"dist":{"shasum":"a9584594dfaa447fa83de6a94d945b325c964eef","tarball":"https://registry.npmjs.org/@bitmovin/player-web-integration-cmcd/-/player-web-integration-cmcd-0.6.0.tgz","fileCount":7,"integrity":"sha512-tFuJm62JvuuQaH5wZfVqlGsWWc5l0N8Ub+i8TRYCC8NBvdSDbUk+/NvBe7mgL6q3APvq5vxsass1krN1CCQe5g==","signatures":[{"sig":"MEUCIQD/TvtDoEIOSqwFsfMTeNrJt0gcP07U+An0etEI/8mhMAIgLv2AB2MV1JvpB8TrMYJcoP7i+4ReShjSaR0kXT+LkAM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":39766},"main":"dist/js/bitmovin-player-integration-cmcd.js","types":"dist/js/CmcdIntegration.d.ts","browser":"dist/js/bitmovin-player-integration-cmcd.js","gitHead":"f26ad6f090ace5955d0dfade1d0ec10489ab863c","scripts":{"test":"jest","build":"webpack --config tooling/webpack.prod.js","clean":"rm -R dist/js","debug":"webpack --config tooling/webpack.dev.js","start":"webpack serve --open --config tooling/webpack.dev.js","format":"prettier --write src/ test/","prepack":"npm run build","prepare":"husky install","test-watch":"jest --watch"},"_npmUser":{"name":"bitadmin","email":"admin@bitmovin.com"},"repository":{"url":"git+ssh://git@github.com/bitmovin/bitmovin-player-web-integration-cmcd.git","type":"git"},"_npmVersion":"11.6.0","description":"Conviva analytics integration for the Bitmovin Player","directories":{},"lint-staged":{"**/*.{ts,js}":"prettier --write --ignore-unknown","CHANGELOG.md":"kacl lint --filename"},"_nodeVersion":"24.9.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.4.2","kacl":"^1.1.1","husky":"^8.0.3","semver":"^7.6.3","ts-jest":"^29.0.5","webpack":"^5.76.0","prettier":"^2.8.4","ts-loader":"^9.4.2","typescript":"^4.9.5","lint-staged":"^13.1.1","webpack-cli":"^5.0.1","@jest/globals":"^29.4.2","webpack-merge":"^5.8.0","changelog-parser":"^3.0.1","webpack-dev-server":"^5.2.1","jest-environment-jsdom":"^29.4.2"},"peerDependencies":{"bitmovin-player":"^8.104.0"},"_npmOperationalInternal":{"tmp":"tmp/player-web-integration-cmcd_0.6.0_1785322726787_0.4992196993352298","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2025-03-26T03:01:53.513Z","modified":"2026-09-08T09:53:21.296Z","0.3.0":"2025-03-26T03:01:53.760Z","0.4.0":"2025-12-01T14:05:21.866Z","0.5.0":"2026-01-14T11:04:42.370Z","0.6.0":"2026-07-29T10:58:46.928Z"},"bugs":{"url":"https://github.com/bitmovin/bitmovin-player-web-integration-cmcd/issues"},"author":{"name":"Bitmovin"},"license":"MIT","homepage":"https://github.com/bitmovin/bitmovin-player-web-integration-cmcd#readme","repository":{"url":"git+ssh://git@github.com/bitmovin/bitmovin-player-web-integration-cmcd.git","type":"git"},"description":"Conviva analytics integration for the Bitmovin Player","maintainers":[{"email":"admin@bitmovin.com","name":"bitadmin"},{"email":"jakov.fustin@bitmovin.com","name":"jf-bitmovin"},{"email":"vojtech.zalesky@gmail.com","name":"mimoza"},{"email":"jakob.mayring@bitmovin.com","name":"jmayring"},{"email":"lukas.knoch-girstmair@bitmovin.com","name":"l_kg"},{"email":"daniel.weinberger@bitmovin.com","name":"dweinber"},{"email":"lukas.kroepfl@bitmovin.com","name":"lkroepfl"}],"readme":"# Bitmovin Player CMCD Integration\n\nThis project adds support for the Common Media Client Data (CMCD) plugin. Please find more information about the Consumer Technology Association (CTA) Specification in https://cdn.cta.tech/cta/media/media/resources/standards/pdfs/cta-5004-final.pdf\n\n## Install\nInstall with npm:\n```\nnpm install --save @bitmovin/player-web-integration-cmcd\n```\n\n## Usage\n\nCreate an instance of the `CmcdIntegration` with a `CmcdConfig` and set the different callbacks in the `PlayerConfig` as follows:\n\n```ts\nconst playerConfig: PlayerConfig = {\n  // all configurations you would typically set\n};\n\nconst cmcdConfig: CmcdConfig = {\n  useQueryArgs: true,\n  sessionId: '6e2fb550-c457-11e9-bb97-0800200c9a66',\n  contentId: '1111-111111-111111-11111',\n};\n\nconst cmcdIntegration = new CmcdIntegration(cmcdConfig);\n\nplayerConfig.network = {\n  preprocessHttpRequest: cmcdIntegration.preprocessHttpRequest,\n  preprocessHttpResponse: cmcdIntegration.preprocessHttpResponse,\n};\nplayerConfig.adaptation = {\n  desktop: {\n    onVideoAdaptation: cmcdIntegration.onVideoAdaptation,\n    onAudioAdaptation: cmcdIntegration.onAudioAdaptation,\n  },\n  mobile: {\n    onVideoAdaptation: cmcdIntegration.onVideoAdaptation,\n    onAudioAdaptation: cmcdIntegration.onAudioAdaptation,\n  },\n};\n```\nAfter that, you create a Bitmovin Player instance as usual, then pass the player instance to the CMCD integration:\n```js\ncmcdIntegration.setPlayer(player);\n```\n\nIt is recommended to set the CMCD Session ID to the Analytics Impression ID as this enables you to connect CDN logs with CMCD data to Analytics sessions:\n```js\ncmcdIntegration.setSessionId(player.analytics.getCurrentImpressionId());\n```\n\nLoad the source into the player after these steps:\n```js\nplayer.load(source);\n```\n\n## Setup for Development\n1. Run `npm install` to install dependencies\n2. Use the npm script defined in the package.json like\n   - Run `npm start` to start the dev server with a watch task and auto-reloading \n   - Run `npm run debug` to create a dev build bundle (non-minified, with source maps)\n   - Run `npm run build` to create a production bundle (minified)\n   - Run `npm run format` to format all files in the `src/` and `test/` folders\n\n### Preparing a release\n1. Make sure all relevant changes were merged into the `main` branch, and there is an entry for each change in `CHANGELOG.md`\n2. Use the [Release New Version](https://github.com/bitmovin/bitmovin-player-web-integration-cmcd/actions/workflows/release.yml) Github Action Workflow and run it on the `main` branch\n\nThat's it! The workflow will take care of bumping the version (based on Changelog entries), updating the `CHANGELOG.md` file with release date and version, committing and tagging in this repository, and publishing the package to [NPM](https://www.npmjs.com/package/@bitmovin/player-web-integration-cmcd).\n\n## Principles\n- The Bitmovin Player shall not be packaged into the JS file created by the build of this integration. To achieve this, types can be imported and used, but no code must be imported/used (including string enums!)\n","readmeFilename":"README.md"}