Skip to content

Commit

Permalink
Fix inconstent naming
Browse files Browse the repository at this point in the history
  • Loading branch information
georgechoustoulakis committed Aug 21, 2024
1 parent 01d18f2 commit 02e8a24
Show file tree
Hide file tree
Showing 34 changed files with 41 additions and 41 deletions.
2 changes: 1 addition & 1 deletion .changeset/khaki-shoes-visit.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"@theoplayer/drm-connectors-web": major
"@theoplayer/drm-connector-web": major
---

Initial Release.
10 changes: 5 additions & 5 deletions drm/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# drm-connectors-web
# drm-connector-web

A collection of DRM connectors for the THEOplayer Web SDK:
- Axinom DRM
Expand All @@ -20,13 +20,13 @@ Install using your favorite package manager for Node (such as `npm` or `yarn`):
### Install via npm

```bash
npm install @theoplayer/drm-connectors-web
npm install @theoplayer/drm-connector-web
```

### Install via yarn

```bash
yarn add @theoplayer/drm-connectors-web
yarn add @theoplayer/drm-connector-web
```

## Usage
Expand All @@ -36,7 +36,7 @@ This example uses Axinom DRM but this equivalent with all connectors:
* Add as a regular script

```html
<script type="text/javascript" src="path/to/drm-connectors.umd.js"></script>
<script type="text/javascript" src="path/to/drm-connector.umd.js"></script>
<script type="text/javascript">
// This registers the Widevine connector for Axinom DRM.
THEOplayer.registerContentProtectionIntegration(
Expand All @@ -51,7 +51,7 @@ This example uses Axinom DRM but this equivalent with all connectors:

```html
<script type="module">
import { AxinomDrmWidevineContentProtectionIntegrationFactory } from "path/to/drm-connectors.esm.js";
import { AxinomDrmWidevineContentProtectionIntegrationFactory } from "path/to/drm-connector.esm.js";
THEOplayer.registerContentProtectionIntegration(
'axinom',
'widevine',
Expand Down
8 changes: 4 additions & 4 deletions drm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@theoplayer/drm-connector-web",
"version": "0.0.0",
"description": "External DRM connectors for the THEOplayer Web SDK",
"main": "dist/drm-connectors.umd.js",
"main": "dist/drm-connector.umd.js",
"repository": {
"type": "git",
"url": "git+https://github.com/THEOplayer/web-connectors.git",
Expand All @@ -12,13 +12,13 @@
"url": "https://github.com/THEOplayer/web-connectors/issues"
},
"homepage": "https://github.com/THEOplayer/web-connectors/tree/main/drm#readme",
"module": "dist/drm-connectors.esm.js",
"module": "dist/drm-connector.esm.js",
"types": "dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/drm-connectors.esm.js",
"require": "./dist/drm-connectors.umd.js"
"import": "./dist/drm-connector.esm.js",
"require": "./dist/drm-connector.umd.js"
},
"./dist/*": "./dist/*",
"./package": "./package.json",
Expand Down
2 changes: 1 addition & 1 deletion drm/rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {getSharedBuildConfiguration} from "../tools/build.mjs";

const {version} = JSON.parse(fs.readFileSync("./package.json", "utf8"));

const fileName = "drm-connectors";
const fileName = "drm-connector";
const globalName = "THEOplayerDrmConnector";
const banner = `
/**
Expand Down
2 changes: 1 addition & 1 deletion drm/test/axinomdrm/fairplay.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Axinom Fairplay Test</title>
<link rel="stylesheet" type="text/css" href="../../../node_modules/theoplayer/ui.css" />
<script src="../../../node_modules/theoplayer/THEOplayer.js"></script>
<script src="../../dist/drm-connectors.umd.js"></script>
<script src="../../dist/drm-connector.umd.js"></script>
</head>
<body>
<div id="THEOplayer" class="theoplayer-container video-js theoplayer-skin"></div>
Expand Down
2 changes: 1 addition & 1 deletion drm/test/axinomdrm/playready.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Axinom PlayReady Test</title>
<link rel="stylesheet" type="text/css" href="../../../node_modules/theoplayer/ui.css" />
<script src="../../../node_modules/theoplayer/THEOplayer.js"></script>
<script src="../../dist/drm-connectors.umd.js"></script>
<script src="../../dist/drm-connector.umd.js"></script>
</head>
<body>
<div id="THEOplayer" class="theoplayer-container video-js theoplayer-skin"></div>
Expand Down
2 changes: 1 addition & 1 deletion drm/test/axinomdrm/widevine.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Axinom Widevine Test</title>
<link rel="stylesheet" type="text/css" href="../../../node_modules/theoplayer/ui.css" />
<script src="../../../node_modules/theoplayer/THEOplayer.js"></script>
<script src="../../dist/drm-connectors.umd.js"></script>
<script src="../../dist/drm-connector.umd.js"></script>
</head>
<body>
<div id="THEOplayer" class="theoplayer-container video-js theoplayer-skin"></div>
Expand Down
2 changes: 1 addition & 1 deletion drm/test/azuredrm/fairplay.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Azure drm FairPlay Test</title>
<link rel="stylesheet" type="text/css" href="../../../node_modules/theoplayer/ui.css" />
<script src="../../../node_modules/theoplayer/THEOplayer.js"></script>
<script src="../../dist/drm-connectors.umd.js"></script>
<script src="../../dist/drm-connector.umd.js"></script>
</head>
<body>
<div id="THEOplayer" class="theoplayer-container video-js theoplayer-skin"></div>
Expand Down
2 changes: 1 addition & 1 deletion drm/test/azuredrm/playready.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Azure drm PlayReady Test</title>
<link rel="stylesheet" type="text/css" href="../../../node_modules/theoplayer/ui.css" />
<script src="../../../node_modules/theoplayer/THEOplayer.js"></script>
<script src="../../dist/drm-connectors.umd.js"></script>
<script src="../../dist/drm-connector.umd.js"></script>
</head>
<body>
<div id="THEOplayer" class="theoplayer-container video-js theoplayer-skin"></div>
Expand Down
2 changes: 1 addition & 1 deletion drm/test/azuredrm/widevine.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Azure drm Widevine Test</title>
<link rel="stylesheet" type="text/css" href="../../../node_modules/theoplayer/ui.css" />
<script src="../../../node_modules/theoplayer/THEOplayer.js"></script>
<script src="../../dist/drm-connectors.umd.js"></script>
<script src="../../dist/drm-connector.umd.js"></script>
</head>
<body>
<div id="THEOplayer" class="theoplayer-container video-js theoplayer-skin"></div>
Expand Down
2 changes: 1 addition & 1 deletion drm/test/castlabs/fairplay.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>CastLabs FairPlay Test</title>
<link rel="stylesheet" type="text/css" href="../../../node_modules/theoplayer/ui.css" />
<script src="../../../node_modules/theoplayer/THEOplayer.js"></script>
<script src="../../dist/drm-connectors.umd.js"></script>
<script src="../../dist/drm-connector.umd.js"></script>
</head>
<body>
<div id="THEOplayer" class="theoplayer-container video-js theoplayer-skin"></div>
Expand Down
2 changes: 1 addition & 1 deletion drm/test/castlabs/playready.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>CastLabs PlayReady Test</title>
<link rel="stylesheet" type="text/css" href="../../../node_modules/theoplayer/ui.css" />
<script src="../../../node_modules/theoplayer/THEOplayer.js"></script>
<script src="../../dist/drm-connectors.umd.js"></script>
<script src="../../dist/drm-connector.umd.js"></script>
</head>
<body>
<p>
Expand Down
2 changes: 1 addition & 1 deletion drm/test/castlabs/widevine.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>CastLabs Widevine Test</title>
<link rel="stylesheet" type="text/css" href="../../../node_modules/theoplayer/ui.css" />
<script src="../../../node_modules/theoplayer/THEOplayer.js"></script>
<script src="../../dist/drm-connectors.umd.js"></script>
<script src="../../dist/drm-connector.umd.js"></script>
</head>
<body>
<p>
Expand Down
2 changes: 1 addition & 1 deletion drm/test/comcastdrm/playready.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" type="text/css" href="../../../node_modules/theoplayer/ui.css" />
<script src="../../../node_modules/theoplayer/THEOplayer.js"></script>
<script src="../../dist/drm-connectors.umd.js"></script>
<script src="../../dist/drm-connector.umd.js"></script>
</head>
<body>
<div class="row">
Expand Down
2 changes: 1 addition & 1 deletion drm/test/comcastdrm/widevine.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" type="text/css" href="../../../node_modules/theoplayer/ui.css" />
<script src="../../../node_modules/theoplayer/THEOplayer.js"></script>
<script src="../../dist/drm-connectors.umd.js"></script>
<script src="../../dist/drm-connector.umd.js"></script>
</head>
<body>
<div class="row">
Expand Down
2 changes: 1 addition & 1 deletion drm/test/ezdrm/fairplay.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Ezdrm Fairplay Test</title>
<link rel="stylesheet" type="text/css" href="../../../node_modules/theoplayer/ui.css" />
<script src="../../../node_modules/theoplayer/THEOplayer.js"></script>
<script src="../../dist/drm-connectors.umd.js"></script>
<script src="../../dist/drm-connector.umd.js"></script>
</head>
<body>
<div id="THEOplayer" class="theoplayer-container video-js theoplayer-skin"></div>
Expand Down
2 changes: 1 addition & 1 deletion drm/test/irdetocontrol/fairplay.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Irdeto Control FairPlay Test</title>
<link rel="stylesheet" type="text/css" href="../../../node_modules/theoplayer/ui.css" />
<script src="../../../node_modules/theoplayer/THEOplayer.js"></script>
<script src="../../dist/drm-connectors.umd.js"></script>
<script src="../../dist/drm-connector.umd.js"></script>
</head>
<body>
<div id="THEOplayer" class="theoplayer-container video-js theoplayer-skin"></div>
Expand Down
2 changes: 1 addition & 1 deletion drm/test/irdetocontrol/playready.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Irdeto Control PlayReady Test</title>
<link rel="stylesheet" type="text/css" href="../../../node_modules/theoplayer/ui.css" />
<script src="../../../node_modules/theoplayer/THEOplayer.js"></script>
<script src="../../dist/drm-connectors.umd.js"></script>
<script src="../../dist/drm-connector.umd.js"></script>
</head>
<body>
<div id="THEOplayer" class="theoplayer-container video-js theoplayer-skin"></div>
Expand Down
2 changes: 1 addition & 1 deletion drm/test/irdetocontrol/widevine.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Irdeto Control Widevine Test</title>
<link rel="stylesheet" type="text/css" href="../../../node_modules/theoplayer/ui.css" />
<script src="../../../node_modules/theoplayer/THEOplayer.js"></script>
<script src="../../dist/drm-connectors.umd.js"></script>
<script src="../../dist/drm-connector.umd.js"></script>
</head>
<body>
<div id="THEOplayer" class="theoplayer-container video-js theoplayer-skin"></div>
Expand Down
2 changes: 1 addition & 1 deletion drm/test/keyos/fairplay.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>KeyOS drm FairPlay Test</title>
<link rel="stylesheet" type="text/css" href="../../../node_modules/theoplayer/ui.css" />
<script src="../../../node_modules/theoplayer/THEOplayer.js"></script>
<script src="../../dist/drm-connectors.umd.js"></script>
<script src="../../dist/drm-connector.umd.js"></script>
</head>
<body>
<div id="THEOplayer" class="theoplayer-container video-js theoplayer-skin"></div>
Expand Down
2 changes: 1 addition & 1 deletion drm/test/keyos/playready.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>KeyOS drm PlayReady Test</title>
<link rel="stylesheet" type="text/css" href="../../../node_modules/theoplayer/ui.css" />
<script src="../../../node_modules/theoplayer/THEOplayer.js"></script>
<script src="../../dist/drm-connectors.umd.js"></script>
<script src="../../dist/drm-connector.umd.js"></script>
</head>
<body>
<div id="THEOplayer" class="theoplayer-container video-js theoplayer-skin"></div>
Expand Down
2 changes: 1 addition & 1 deletion drm/test/keyos/widevine.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>KeyOS drm Widevine Test</title>
<link rel="stylesheet" type="text/css" href="../../../node_modules/theoplayer/ui.css" />
<script src="../../../node_modules/theoplayer/THEOplayer.js"></script>
<script src="../../dist/drm-connectors.umd.js"></script>
<script src="../../dist/drm-connector.umd.js"></script>
</head>
<body>
<div id="THEOplayer" class="theoplayer-container video-js theoplayer-skin"></div>
Expand Down
2 changes: 1 addition & 1 deletion drm/test/nagradrm/fairplay.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link rel="stylesheet" type="text/css" href="style.css" />
<<link rel="stylesheet" type="text/css" href="../../../node_modules/theoplayer/ui.css" />
<script src="../../../node_modules/theoplayer/THEOplayer.js"></script>
<script src="../../dist/drm-connectors.umd.js"></script>
<script src="../../dist/drm-connector.umd.js"></script>
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion drm/test/nagradrm/playready.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" type="text/css" href="../../../node_modules/theoplayer/ui.css" />
<script src="../../../node_modules/theoplayer/THEOplayer.js"></script>
<script src="../../dist/drm-connectors.umd.js"></script>
<script src="../../dist/drm-connector.umd.js"></script>
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion drm/test/nagradrm/widevine.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" type="text/css" href="../../../node_modules/theoplayer/ui.css" />
<script src="../../../node_modules/theoplayer/THEOplayer.js"></script>
<script src="../../dist/drm-connectors.umd.js"></script>
<script src="../../dist/drm-connector.umd.js"></script>
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion drm/test/titaniumdrm/fairplay.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Titanium DRM Fairplay Test Using AuthToken or device parameters</title>
<link rel="stylesheet" type="text/css" href="../../../node_modules/theoplayer/ui.css" />
<script src="../../../node_modules/theoplayer/THEOplayer.js"></script>
<script src="../../dist/drm-connectors.umd.js"></script>
<script src="../../dist/drm-connector.umd.js"></script>
</head>
<body>
<div id="THEOplayer" class="theoplayer-container video-js theoplayer-skin"></div>
Expand Down
2 changes: 1 addition & 1 deletion drm/test/titaniumdrm/playready.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Titanium DRM PlayReady Test using AuthToken or device parameters</title>
<link rel="stylesheet" type="text/css" href="../../../node_modules/theoplayer/ui.css" />
<script src="../../../node_modules/theoplayer/THEOplayer.js"></script>
<script src="../../dist/drm-connectors.umd.js"></script>
<script src="../../dist/drm-connector.umd.js"></script>
</head>
<body>
<div id="THEOplayer" class="theoplayer-container video-js theoplayer-skin"></div>
Expand Down
2 changes: 1 addition & 1 deletion drm/test/titaniumdrm/widevine.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Titanium DRM Widevine Test Using AuthToken or device parameters</title>
<link rel="stylesheet" type="text/css" href="../../../node_modules/theoplayer/ui.css" />
<script src="../../../node_modules/theoplayer/THEOplayer.js"></script>
<script src="../../dist/drm-connectors.umd.js"></script>
<script src="../../dist/drm-connector.umd.js"></script>
</head>
<body>
<div id="THEOplayer" class="theoplayer-container video-js theoplayer-skin"></div>
Expand Down
2 changes: 1 addition & 1 deletion drm/test/verimatrixcoredrm/fairplay.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Verimatrix Core DRM FairPlay Test</title>
<link rel="stylesheet" type="text/css" href="../../../node_modules/theoplayer/ui.css" />
<script src="../../../node_modules/theoplayer/THEOplayer.js"></script>
<script src="../../dist/drm-connectors.umd.js"></script>
<script src="../../dist/drm-connector.umd.js"></script>
</head>
<body>
<div id="THEOplayer" class="theoplayer-container video-js theoplayer-skin"></div>
Expand Down
2 changes: 1 addition & 1 deletion drm/test/verimatrixcoredrm/playready.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Verimatrix Core DRM PlayReady Test</title>
<link rel="stylesheet" type="text/css" href="../../../node_modules/theoplayer/ui.css" />
<script src="../../../node_modules/theoplayer/THEOplayer.js"></script>
<script src="../../dist/drm-connectors.umd.js"></script>
<script src="../../dist/drm-connector.umd.js"></script>
</head>
<body>
<div id="THEOplayer" class="theoplayer-container video-js theoplayer-skin"></div>
Expand Down
2 changes: 1 addition & 1 deletion drm/test/verimatrixcoredrm/widevine.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Verimatrix Core DRM Widevine Test</title>
<link rel="stylesheet" type="text/css" href="../../../node_modules/theoplayer/ui.css" />
<script src="../../../node_modules/theoplayer/THEOplayer.js"></script>
<script src="../../dist/drm-connectors.umd.js"></script>
<script src="../../dist/drm-connector.umd.js"></script>
</head>
<body>
<div id="THEOplayer" class="theoplayer-container video-js theoplayer-skin"></div>
Expand Down
2 changes: 1 addition & 1 deletion drm/test/vudrm/fairplay.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Vudrm Fairplay Test</title>
<link rel="stylesheet" type="text/css" href="../../../node_modules/theoplayer/ui.css" />
<script src="../../../node_modules/theoplayer/THEOplayer.js"></script>
<script src="../../dist/drm-connectors.umd.js"></script>
<script src="../../dist/drm-connector.umd.js"></script>
</head>
<body>
<div id="THEOplayer" class="theoplayer-container video-js theoplayer-skin"></div>
Expand Down
2 changes: 1 addition & 1 deletion drm/test/vudrm/playready.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Vudrm PlayReady Test</title>
<link rel="stylesheet" type="text/css" href="../../../node_modules/theoplayer/ui.css" />
<script src="../../../node_modules/theoplayer/THEOplayer.js"></script>
<script src="../../dist/drm-connectors.umd.js"></script>
<script src="../../dist/drm-connector.umd.js"></script>
</head>
<body>
<div id="THEOplayer" class="theoplayer-container video-js theoplayer-skin"></div>
Expand Down
2 changes: 1 addition & 1 deletion drm/test/vudrm/widevine.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Vudrm Widevine Test</title>
<link rel="stylesheet" type="text/css" href="../../../node_modules/theoplayer/ui.css" />
<script src="../../../node_modules/theoplayer/THEOplayer.js"></script>
<script src="../../dist/drm-connectors.umd.js"></script>
<script src="../../dist/drm-connector.umd.js"></script>
</head>
<body>
<div id="THEOplayer" class="theoplayer-container video-js theoplayer-skin"></div>
Expand Down

0 comments on commit 02e8a24

Please sign in to comment.