@npo/player 1.9.0 → 1.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +0 -61
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -6,67 +6,6 @@ The video player library for NPO and other broadcasters.
6
6
 
7
7
  # Documentation
8
8
  More extensive and up-to-date documentation is available at https://docs.npoplayer.nl
9
-
10
- # Installing using npm
11
-
12
- **If you are not using npm, skip to Import to use the js and css from the CDN.**
13
-
14
- The player is hosted on our private NPM registry, so in order to install it you must add this registry to the context of the package manager.
15
- In your project, add a file named '.npmrc' and add this line:
16
-
17
- ```text
18
- always-auth=true
19
- @npoplayer:registry=https://pkgs.dev.azure.com/NPOplayer/_packaging/NPOplayer/npm/registry/
20
- ```
21
-
22
- ##### For Mac:
23
-
24
- Add this to your user's .npmrc file and replace the \[BASE64_ENCODED_ACCESS_KEY\] with the key you are provided.
25
-
26
- ```text
27
- ; begin auth token
28
- //pkgs.dev.azure.com/NPOplayer/_packaging/NPOplayer/npm/registry/:username=NPOplayer
29
- //pkgs.dev.azure.com/NPOplayer/_packaging/NPOplayer/npm/registry/:_password=[BASE64_ENCODED_ACCESS_KEY]
30
- //pkgs.dev.azure.com/NPOplayer/_packaging/NPOplayer/npm/registry/:email=npm requires email to be set but doesn't use the value
31
- //pkgs.dev.azure.com/NPOplayer/_packaging/NPOplayer/npm/:username=NPOplayer
32
- //pkgs.dev.azure.com/NPOplayer/_packaging/NPOplayer/npm/:_password=[BASE64_ENCODED_ACCESS_KEY]
33
- //pkgs.dev.azure.com/NPOplayer/_packaging/NPOplayer/npm/:email=npm requires email to be set but doesn't use the value
34
- ; end auth token
35
- ```
36
-
37
- ##### For Windows:
38
-
39
- Run this command to add the token to your user's .npmrc file:
40
-
41
- ```shell
42
- vsts-npm-auth -config .npmrc
43
- ```
44
-
45
- ##### Install from registry
46
-
47
- After adding the access token and the registry you can install the package:
48
-
49
- ```shell
50
- npm install npoplayer
51
- ```
52
-
53
- # Import
54
-
55
- ## NPM
56
-
57
- ```js
58
- import 'npoplayer/src/scss/npoplayer.scss';
59
- import NpoPlayer from 'npoplayer';
60
- window.npoplayer = NpoPlayer;
61
- ```
62
-
63
- ## CDN
64
-
65
- ```js
66
- <script src="https://npoplayer-test.s3.eu-central-1.amazonaws.com/assets/build/npoplayer.js" type="text/javascript"></script>
67
- <link rel="stylesheet" href="https://npoplayer-test.s3.eu-central-1.amazonaws.com/assets/build/npoplayer.css"></style>
68
- ```
69
-
70
9
  # Basic usage
71
10
 
72
11
  ```js
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npo/player",
3
- "version": "1.9.0",
3
+ "version": "1.9.2",
4
4
  "description": "NPO Player",
5
5
  "author": "Publieke Omroep <player@npo.nl>",
6
6
  "contributors": [