@playkit-js/rapt 0.4.12 → 0.4.13
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.
- package/CHANGELOG.md +4 -0
- package/README.md +9 -26
- package/dist/playkit-rapt.js +1 -1
- package/dist/playkit-rapt.js.map +1 -1
- package/package.json +1 -1
- package/version.ts +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -38,13 +38,15 @@ npm start
|
|
|
38
38
|
|
|
39
39
|
## Embed:
|
|
40
40
|
This library will be bundled inside the Kaltura playkit-js library and served by it.
|
|
41
|
-
In most cases, KMS will generate the player uiconf for you, in case you create the player
|
|
41
|
+
In most cases, KMS will generate the player uiconf for you, in case you create the player manually, you will need to make sure that the player V3 version incluses the Rapt V3 "plugin". You do that by setting the 'Additional flashvars' field to something that looks like this template:
|
|
42
42
|
```
|
|
43
|
-
{"kaltura-ovp-player":"V3_PLAYER_VERSION","
|
|
43
|
+
{"kaltura-ovp-player":"V3_PLAYER_VERSION","rapt" : "RAPT_VERSION"}
|
|
44
44
|
```
|
|
45
|
-
E.G. {"kaltura-ovp-player":"
|
|
45
|
+
E.G. {"kaltura-ovp-player":"3.14.8","rapt" : "0.4.8"}
|
|
46
46
|
|
|
47
|
-
|
|
47
|
+
NOTE: up to rapt version 0.4.9 you should use the key "rapt" as in the example above. After this version, the correct field is "playkit-rapt" (E.G. {"kaltura-ovp-player":"3.14.8","playkit-rapt" : "0.4.13"})
|
|
48
|
+
|
|
49
|
+
The following snippet is showing a typical embed code of a rapt player:
|
|
48
50
|
|
|
49
51
|
```
|
|
50
52
|
<!-- playkit-js library code and Rapt -->
|
|
@@ -199,25 +201,6 @@ This project is licensed under the AGPL-3.0 License - see the LICENSE.md file fo
|
|
|
199
201
|
|
|
200
202
|
|
|
201
203
|
## How to Release
|
|
202
|
-
1. Go to
|
|
203
|
-
2.
|
|
204
|
-
3.
|
|
205
|
-
4. Run ```
|
|
206
|
-
npm tag
|
|
207
|
-
```
|
|
208
|
-
, or create a new tag via github
|
|
209
|
-
5. Run ```
|
|
210
|
-
npm build
|
|
211
|
-
```
|
|
212
|
-
6. Run ```
|
|
213
|
-
npm tgz
|
|
214
|
-
```
|
|
215
|
-
, this will output a tar.gz file in dist folder
|
|
216
|
-
7. Go to the new tag in github and click on Edit and add the tar.gz file from dist folder
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
## Deployment Instructions
|
|
220
|
-
Extract the tgz files into a folder by the name of the version, in all bundle machines
|
|
221
|
-
(E.G. /opt/kaltura/html5/html5lib/playkitSources/rapt/0.4.6/). The output is 2 files on that folder.
|
|
222
|
-
|
|
223
|
-
Alternatively - copy the 2 files directly from the release (.js and .js.map) to the relevant folder.
|
|
204
|
+
1. Go to version.ts file and change the version
|
|
205
|
+
2. Commit and Push with a message "chore(bump): bump to version $VERSION"
|
|
206
|
+
3. Via GitHub actions, manually execute Prod action
|