@playkit-js/kaltura-player-js 3.14.1-canary.0-c8b9a29
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/.babelrc +22 -0
- package/.editorconfig +10 -0
- package/.eslintignore +9 -0
- package/.eslintrc +32 -0
- package/.flowconfig +20 -0
- package/.github/ISSUE_TEMPLATE.md +28 -0
- package/.github/PULL_REQUEST_TEMPLATE.md +12 -0
- package/.github/workflows/run_canary_full_flow.yaml +29 -0
- package/.github/workflows/run_prod.yaml +24 -0
- package/.github/workflows/run_tests.yaml +24 -0
- package/.prettierignore +8 -0
- package/.prettierrc +12 -0
- package/CHANGELOG.md +2755 -0
- package/LICENSE +661 -0
- package/README.md +109 -0
- package/_config.yml +1 -0
- package/dist/kaltura-ovp-player.cjs.js +54 -0
- package/docs/Kaltura-Player-V7-V2-differences.md +46 -0
- package/docs/adding-vtt-thumbnails.md +83 -0
- package/docs/ads.md +470 -0
- package/docs/advertisement-layout-management.md +476 -0
- package/docs/api.md +3537 -0
- package/docs/change-media.md +106 -0
- package/docs/coding-guidlines.md +94 -0
- package/docs/configuration.md +519 -0
- package/docs/debugging.md +136 -0
- package/docs/embed-types.md +71 -0
- package/docs/errors.md +63 -0
- package/docs/events.md +93 -0
- package/docs/getting-started-using-player-studio.md +110 -0
- package/docs/guides.md +27 -0
- package/docs/images/ad-events-timeline.jpg +0 -0
- package/docs/images/ads-controller.jpg +0 -0
- package/docs/images/chrome-local-storage.png +0 -0
- package/docs/images/clear-button-local-storage.png +0 -0
- package/docs/images/configuration-strength.jpg +0 -0
- package/docs/images/console-logs-example.png +0 -0
- package/docs/images/content-share-and-embed.png +0 -0
- package/docs/images/content-tab.png +0 -0
- package/docs/images/dash-instream-thumbnail.png +0 -0
- package/docs/images/kaltura-logo.svg +178 -0
- package/docs/images/kmc.png +0 -0
- package/docs/images/playback-start-end-timeline.jpg +0 -0
- package/docs/images/player-save.png +0 -0
- package/docs/images/player-state-machine.jpg +0 -0
- package/docs/images/playlist-countdown.png +0 -0
- package/docs/images/save-value-flow-local-storage.png +0 -0
- package/docs/images/setup-flow-local-storage.jpg +0 -0
- package/docs/images/share-and-embed-dynamic-copy.png +0 -0
- package/docs/images/studio.png +0 -0
- package/docs/images/translation-tree.png +0 -0
- package/docs/images/tv-platform-add.png +0 -0
- package/docs/instream-dash-thumbnails.md +246 -0
- package/docs/keyboard-shortcuts.md +28 -0
- package/docs/localization.md +68 -0
- package/docs/managing-tracks.md +220 -0
- package/docs/media-capabilities.md +57 -0
- package/docs/migration-from-v2-player.md +37 -0
- package/docs/player-setup.md +103 -0
- package/docs/player-states.md +96 -0
- package/docs/playing-your-video.md +219 -0
- package/docs/playlist.md +233 -0
- package/docs/request-response-manipulation.md +83 -0
- package/docs/service-provider.md +26 -0
- package/docs/supportedPlatforms.md +58 -0
- package/docs/ui.md +28 -0
- package/docs/user-preferences.md +80 -0
- package/docs/writing-a-plugin.md +466 -0
- package/flow-typed/interfaces/ads-controller-provider.js +5 -0
- package/flow-typed/interfaces/ads-controller.js +14 -0
- package/flow-typed/interfaces/ads-plugin-controller.js +10 -0
- package/flow-typed/interfaces/cue-point.js +6 -0
- package/flow-typed/interfaces/middleware-provider.js +6 -0
- package/flow-typed/interfaces/plugin.js +8 -0
- package/flow-typed/interfaces/preset-components-provider.js +5 -0
- package/flow-typed/modules/babel-polyfill.js +4 -0
- package/flow-typed/modules/intersection-observer.js +4 -0
- package/flow-typed/modules/js-logger.js +4 -0
- package/flow-typed/modules/playkit-js-providers.js +4 -0
- package/flow-typed/modules/playkit-js-ui.js +4 -0
- package/flow-typed/modules/playkit-js.js +4 -0
- package/flow-typed/types/advertising.js +54 -0
- package/flow-typed/types/kaltura-player-event-types.js +7 -0
- package/flow-typed/types/kaltura-player-options.js +48 -0
- package/flow-typed/types/kaltura-player-ui-options.js +6 -0
- package/flow-typed/types/kaltura-player-visibility-config.js +5 -0
- package/flow-typed/types/kaltura-players.js +9 -0
- package/flow-typed/types/log-level.js +3 -0
- package/flow-typed/types/media-capabilities.js +45 -0
- package/flow-typed/types/media-config.js +14 -0
- package/flow-typed/types/playlist.js +67 -0
- package/flow-typed/types/plugins.js +8 -0
- package/flow-typed/types/prebid-config.js +12 -0
- package/flow-typed/types/thumbnail-config.js +6 -0
- package/flow-typed/types/ui-component-options.js +8 -0
- package/flow-typed/types/ui-component.js +13 -0
- package/karma.conf.js +55 -0
- package/package.json +139 -0
- package/samples/ovp/all-plugins.html +37 -0
- package/samples/ovp/auto-pause.html +35 -0
- package/samples/ovp/auto-play-in-view.html +35 -0
- package/samples/ovp/cast.html +66 -0
- package/samples/ovp/change-media-clear.html +93 -0
- package/samples/ovp/change-media-drm.html +81 -0
- package/samples/ovp/custom-poster.html +48 -0
- package/samples/ovp/custom-preview-thumbnail.html +56 -0
- package/samples/ovp/dash-in-stream-thumbnails.html +120 -0
- package/samples/ovp/floating.html +37 -0
- package/samples/ovp/live-stats.html +89 -0
- package/samples/ovp/playlist-by-config.html +84 -0
- package/samples/ovp/playlist-by-entry-list.html +32 -0
- package/samples/ovp/playlist-by-id.html +33 -0
- package/samples/ovp/prebid.html +88 -0
- package/samples/ovp/set-media.html +111 -0
- package/samples/ovp/standalone-ima.html +37 -0
- package/samples/ovp/ui-conf.html +73 -0
- package/samples/style.css +23 -0
- package/scripts/job.sh +41 -0
- package/src/assets/style.css +13 -0
- package/src/common/ads/ad-break.js +54 -0
- package/src/common/ads/ad-layout-middleware.js +53 -0
- package/src/common/ads/ad.js +276 -0
- package/src/common/ads/index.js +2 -0
- package/src/common/ads/prebid-manager.js +113 -0
- package/src/common/cast/base-remote-player.js +611 -0
- package/src/common/cast/cast-event-type.js +59 -0
- package/src/common/cast/custom-message.js +41 -0
- package/src/common/cast/index.js +34 -0
- package/src/common/cast/player-snapshot.js +94 -0
- package/src/common/cast/remote-control.js +268 -0
- package/src/common/cast/remote-payload.js +119 -0
- package/src/common/cast/remote-player-manager.js +75 -0
- package/src/common/cast/remote-player-type.js +6 -0
- package/src/common/cast/remote-player-ui.js +82 -0
- package/src/common/cast/remote-player.js +387 -0
- package/src/common/cast/remote-session.js +51 -0
- package/src/common/cast/text-style-convertor.js +57 -0
- package/src/common/controllers/ads-controller.js +526 -0
- package/src/common/controllers/controller-provider.js +34 -0
- package/src/common/controllers/index.js +2 -0
- package/src/common/cuepoint/cuepoint-manager.js +100 -0
- package/src/common/playlist/index.js +8 -0
- package/src/common/playlist/playlist-event-type.js +39 -0
- package/src/common/playlist/playlist-item.js +100 -0
- package/src/common/playlist/playlist-manager.js +318 -0
- package/src/common/playlist/playlist.js +79 -0
- package/src/common/plugins/base-plugin.js +166 -0
- package/src/common/plugins/index.js +4 -0
- package/src/common/plugins/plugin-manager.js +168 -0
- package/src/common/plugins/plugin-readiness-middleware.js +55 -0
- package/src/common/plugins/plugins-config-store.js +136 -0
- package/src/common/plugins/plugins-config.js +239 -0
- package/src/common/polyfills/all.js +3 -0
- package/src/common/polyfills/performance-now.js +21 -0
- package/src/common/polyfills/polyfill-manager.js +18 -0
- package/src/common/polyfills/prepend.js +33 -0
- package/src/common/service-provider.js +71 -0
- package/src/common/storage/storage-manager.js +148 -0
- package/src/common/storage/storage-wrapper.js +109 -0
- package/src/common/thumbnail-manager.js +99 -0
- package/src/common/ui-wrapper.js +151 -0
- package/src/common/utils/evaluate.js +27 -0
- package/src/common/utils/external-stream-redirect-helper.js +63 -0
- package/src/common/utils/kaltura-params.js +188 -0
- package/src/common/utils/media-capabilities.js +141 -0
- package/src/common/utils/setup-helpers.js +770 -0
- package/src/common/utils/validation-error.js +10 -0
- package/src/common/utils/viewability-manager.js +158 -0
- package/src/index.html +54 -0
- package/src/index.js +58 -0
- package/src/kaltura-player.js +1208 -0
- package/src/ott/player-defaults.js +41 -0
- package/src/ott/plugins/plugins-config-store.js +21 -0
- package/src/ott/poster.js +73 -0
- package/src/ovp/player-defaults.js +45 -0
- package/src/ovp/plugins/plugins-config-store.js +19 -0
- package/src/ovp/poster.js +29 -0
- package/src/proxy.js +64 -0
- package/src/setup.js +44 -0
- package/test/.eslintrc.json +8 -0
- package/test/assets/audios.mp4 +0 -0
- package/test/assets/mov_bbb.mp4 +0 -0
- package/test/setup/karma.js +5 -0
- package/test/setup/load-specs.js +13 -0
- package/test/setup/prepare-test-environment.js +17 -0
- package/test/src/common/ads/ads-controller.spec.js +1002 -0
- package/test/src/common/cuepoints/cuepoint-manager.spec.js +68 -0
- package/test/src/common/playlist/playlist-manager.spec.js +671 -0
- package/test/src/common/plugin/base-plugin.spec.js +67 -0
- package/test/src/common/plugin/plugin-manager.spec.js +168 -0
- package/test/src/common/plugin/plugins-config.spec.js +152 -0
- package/test/src/common/plugin/test-plugins/async-reject-plugin.js +22 -0
- package/test/src/common/plugin/test-plugins/async-resolve-plugin.js +21 -0
- package/test/src/common/plugin/test-plugins/colors-plugin.js +46 -0
- package/test/src/common/plugin/test-plugins/numbers-plugin.js +54 -0
- package/test/src/common/service-provider.spec.js +38 -0
- package/test/src/common/storage/storage-manager.spec.js +162 -0
- package/test/src/common/storage/storage-wrapper.spec.js +41 -0
- package/test/src/common/thumbnail-manager.spec.js +217 -0
- package/test/src/common/utils/evaluate.spec.js +38 -0
- package/test/src/common/utils/kaltura-params.spec.js +232 -0
- package/test/src/common/utils/setup-helpers.spec.js +438 -0
- package/test/src/configs/plugins.json +30 -0
- package/test/src/configs/sources.json +67 -0
- package/test/src/kaltura-player.spec.js +1274 -0
- package/test/src/mock-data/images.js +8 -0
- package/test/src/mock-data/media.js +200 -0
- package/test/src/mock-data/playlist.js +322 -0
- package/test/src/ott/player-defaults.spec.js +33 -0
- package/test/src/ott/poster.spec.js +27 -0
- package/test/src/ovp/player-defaults.spec.js +84 -0
- package/test/src/ovp/poster.spec.js +150 -0
- package/test/src/setup.spec.js +105 -0
- package/test/src/utils/test-utils.js +91 -0
- package/test/src/utils/viewability-manager.spec.js +64 -0
- package/ts-typed/base-middleware.d.ts +5 -0
- package/ts-typed/base-plugin.d.ts +14 -0
- package/ts-typed/cue-point-manager.d.ts +16 -0
- package/ts-typed/engine-decorator.d.ts +12 -0
- package/ts-typed/event-manager.d.ts +12 -0
- package/ts-typed/fake-event-target.d.ts +9 -0
- package/ts-typed/kaltura-player.d.ts +76 -0
- package/ts-typed/logger.d.ts +13 -0
- package/ts-typed/player-config.d.ts +217 -0
- package/ts-typed/player.d.ts +64 -0
- package/ts-typed/playlist.d.ts +33 -0
- package/ts-typed/provider-loader.d.ts +7 -0
- package/types.d.ts +234 -0
- package/webpack.config.js +111 -0
package/.babelrc
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"env": {
|
|
3
|
+
"test": {
|
|
4
|
+
"plugins": ["istanbul"]
|
|
5
|
+
}
|
|
6
|
+
},
|
|
7
|
+
"ignore": ["node_modules/**/*"],
|
|
8
|
+
"plugins": ["@babel/plugin-transform-flow-strip-types", "@babel/plugin-proposal-class-properties"],
|
|
9
|
+
"presets": [
|
|
10
|
+
[
|
|
11
|
+
"@babel/preset-env",
|
|
12
|
+
{
|
|
13
|
+
"loose": true,
|
|
14
|
+
"bugfixes": true,
|
|
15
|
+
"targets": {
|
|
16
|
+
"browsers": ["chrome >= 47", "firefox >= 51", "ie >= 11", "safari >= 8", "ios >= 8", "android >= 4"]
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"@babel/preset-flow"
|
|
21
|
+
]
|
|
22
|
+
}
|
package/.editorconfig
ADDED
package/.eslintignore
ADDED
package/.eslintrc
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"parser": "babel-eslint",
|
|
3
|
+
"parserOptions": {
|
|
4
|
+
"ecmaVersion": 6,
|
|
5
|
+
"sourceType": "module"
|
|
6
|
+
},
|
|
7
|
+
"extends": ["eslint:recommended", "plugin:flowtype/recommended"],
|
|
8
|
+
"plugins": ["prettier", "import", "flowtype", "mocha-no-only"],
|
|
9
|
+
"env": {
|
|
10
|
+
"browser": true,
|
|
11
|
+
"es6": true,
|
|
12
|
+
"mocha": true,
|
|
13
|
+
"amd": true,
|
|
14
|
+
"commonjs": true
|
|
15
|
+
},
|
|
16
|
+
"globals": {
|
|
17
|
+
"should": true,
|
|
18
|
+
"sinon": true,
|
|
19
|
+
"__VERSION__": true,
|
|
20
|
+
"__NAME__": true,
|
|
21
|
+
"__PACKAGE_URL__": true,
|
|
22
|
+
"__CONFIG_DOCS_URL__": true
|
|
23
|
+
},
|
|
24
|
+
"rules": {
|
|
25
|
+
"prettier/prettier": "error",
|
|
26
|
+
"no-console": "error",
|
|
27
|
+
"no-alert": "error",
|
|
28
|
+
"mocha-no-only/mocha-no-only": "off",
|
|
29
|
+
"require-jsdoc": ["error"],
|
|
30
|
+
"valid-jsdoc": ["error"]
|
|
31
|
+
}
|
|
32
|
+
}
|
package/.flowconfig
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
[ignore]
|
|
2
|
+
.*/node_modules/.*
|
|
3
|
+
[include]
|
|
4
|
+
[libs]
|
|
5
|
+
./src/index.js
|
|
6
|
+
node_modules/@playkit-js/playkit-js/flow-typed/
|
|
7
|
+
node_modules/@playkit-js/playkit-js-hls/flow-typed/
|
|
8
|
+
node_modules/@playkit-js/playkit-js-dash/flow-typed/
|
|
9
|
+
node_modules/@playkit-js/playkit-js-ui/flow-typed/
|
|
10
|
+
node_modules/playkit-js-providers/flow-typed/
|
|
11
|
+
[options]
|
|
12
|
+
module.name_mapper='playkit-js-providers' -> 'playkit-js-providers/dist/playkit-ovp-provider'
|
|
13
|
+
module.name_mapper='playkit-js-providers' -> 'playkit-js-providers/dist/playkit-ott-provider'
|
|
14
|
+
module.name_mapper='player-defaults' -> '<PROJECT_ROOT>/src/ovp/player-defaults'
|
|
15
|
+
module.name_mapper='player-defaults' -> '<PROJECT_ROOT>/src/ott/player-defaults'
|
|
16
|
+
module.name_mapper='poster' -> '<PROJECT_ROOT>/src/ovp/poster'
|
|
17
|
+
module.name_mapper='poster' -> '<PROJECT_ROOT>/src/ott/poster'
|
|
18
|
+
module.name_mapper='plugins-config-store' -> '<PROJECT_ROOT>/src/ovp/plugins/plugins-config-store'
|
|
19
|
+
module.name_mapper='plugins-config-store' -> '<PROJECT_ROOT>/src/ott/plugins/plugins-config-store'
|
|
20
|
+
esproposal.optional_chaining=enable
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<!-- If you are raising a bug playing a stream, you must fill out the following or your issue may not be responded to. For features or improvements, you may delete this. -->
|
|
2
|
+
|
|
3
|
+
##### Prerequisites
|
|
4
|
+
|
|
5
|
+
- [ ] Have you checked for duplicate [issues](https://github.com/kaltura/kaltura-player-js/issues): **\_\_**
|
|
6
|
+
- [ ] Which Plugin [version](https://github.com/kaltura/kaltura-player-js/releases) are you using: **\_\_**
|
|
7
|
+
- [ ] Can you reproduce the issue with our latest release version: **\_\_**
|
|
8
|
+
- [ ] Can you reproduce the issue with the latest code from master: **\_\_**
|
|
9
|
+
- [ ] What browser and OS names and versions are you using: **\_\_**
|
|
10
|
+
- [ ] If applicable, add test code or test page to reproduce:
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
Paste test code here
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
##### Expected behavior
|
|
17
|
+
|
|
18
|
+
What you expected to happen
|
|
19
|
+
|
|
20
|
+
##### Actual behavior
|
|
21
|
+
|
|
22
|
+
What actually happened
|
|
23
|
+
|
|
24
|
+
##### Console output
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
Paste the contents of the browser console here.
|
|
28
|
+
```
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
### Description of the Changes
|
|
2
|
+
|
|
3
|
+
Please add a detailed description of the change, whether it's an enhancement or a bugfix.
|
|
4
|
+
If the PR is related to an open issue please link to it.
|
|
5
|
+
|
|
6
|
+
### CheckLists
|
|
7
|
+
|
|
8
|
+
- [ ] changes have been done against master branch, and PR does not conflict
|
|
9
|
+
- [ ] new unit / functional tests have been added (whenever applicable)
|
|
10
|
+
- [ ] test are passing in local environment
|
|
11
|
+
- [ ] Travis tests are passing (or test results are not worse than on master branch :))
|
|
12
|
+
- [ ] Docs have been updated
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
## Canary CI/CD
|
|
2
|
+
name: Canary Full Flow
|
|
3
|
+
run-name: Canary Full Flow
|
|
4
|
+
|
|
5
|
+
on:
|
|
6
|
+
push:
|
|
7
|
+
branches:
|
|
8
|
+
- devops-deployment
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
canary-full-flow:
|
|
12
|
+
if: ${{ github.actor != 'PlaykitJs-Bot' }}
|
|
13
|
+
uses: kaltura/ovp-pipelines-pub/.github/workflows/player_cicd.yaml@master
|
|
14
|
+
secrets:
|
|
15
|
+
PLAYER_CENTRAL_ACCOUNT_ID: ${{ secrets.PLAYER_CENTRAL_ACCOUNT_ID }}
|
|
16
|
+
PLAYER_SERVICES_ACCOUNT_ID: ${{ secrets.PLAYER_SERVICES_ACCOUNT_ID }}
|
|
17
|
+
PLAYER_S3_BUCKET_DEPLOYMENT: ${{ secrets.PLAYER_S3_BUCKET_DEPLOYMENT }}
|
|
18
|
+
PLAYER_S3_BUCKET_APPS: ${{ secrets.PLAYER_S3_BUCKET_APPS }}
|
|
19
|
+
PLAYER_NPM_TOKEN: ${{ secrets.PLAYER_NPM_TOKEN }}
|
|
20
|
+
PLAYER_LAMBDA_NAME: ${{ secrets.PLAYER_LAMBDA_NAME }}
|
|
21
|
+
PLAYER_MSTEAMS_WEBHOOK: ${{ secrets.PLAYER_MSTEAMS_WEBHOOK }}
|
|
22
|
+
PLAYER_GITHUB_BOT_TOKEN: ${{ secrets.PLAYER_GITHUB_BOT_TOKEN }}
|
|
23
|
+
with:
|
|
24
|
+
type: "player"
|
|
25
|
+
player-type: "ovp tv"
|
|
26
|
+
stage: "canary"
|
|
27
|
+
schema-type: "playerV3Versions"
|
|
28
|
+
tests-yarn-run-to-execute: 'eslint flow test'
|
|
29
|
+
yarn-upgrade-list: "@playkit-js/playkit-js@canary @playkit-js/playkit-js-dash@canary @playkit-js/playkit-js-hls@canary @playkit-js/playkit-js-ui@canary @playkit-js/playkit-js-providers@canary"
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
## Prod CI
|
|
2
|
+
name: Prod
|
|
3
|
+
run-name: Prod
|
|
4
|
+
|
|
5
|
+
on:
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
prod:
|
|
10
|
+
uses: kaltura/ovp-pipelines-pub/.github/workflows/player_cicd.yaml@v1.0.0
|
|
11
|
+
secrets:
|
|
12
|
+
PLAYER_CENTRAL_ACCOUNT_ID: ${{ secrets.PLAYER_CENTRAL_ACCOUNT_ID }}
|
|
13
|
+
PLAYER_SERVICES_ACCOUNT_ID: ${{ secrets.PLAYER_SERVICES_ACCOUNT_ID }}
|
|
14
|
+
PLAYER_S3_BUCKET_DEPLOYMENT: ${{ secrets.PLAYER_S3_BUCKET_DEPLOYMENT }}
|
|
15
|
+
PLAYER_S3_BUCKET_APPS: ${{ secrets.PLAYER_S3_BUCKET_APPS }}
|
|
16
|
+
PLAYER_NPM_TOKEN: ${{ secrets.PLAYER_NPM_TOKEN }}
|
|
17
|
+
PLAYER_LAMBDA_NAME: ${{ secrets.PLAYER_LAMBDA_NAME }}
|
|
18
|
+
PLAYER_MSTEAMS_WEBHOOK: ${{ secrets.PLAYER_MSTEAMS_WEBHOOK }}
|
|
19
|
+
PLAYER_GITHUB_BOT_TOKEN: ${{ secrets.PLAYER_GITHUB_BOT_TOKEN }}
|
|
20
|
+
with:
|
|
21
|
+
type: "plugin"
|
|
22
|
+
env: "prod"
|
|
23
|
+
schema-type: "playerV3Versions"
|
|
24
|
+
tests-yarn-run-to-execute: 'eslint flow test'
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
## CI - Player And Plugin Tests
|
|
2
|
+
name: Player And Plugin Tests
|
|
3
|
+
run-name: Player And Plugin Tests
|
|
4
|
+
|
|
5
|
+
on:
|
|
6
|
+
pull_request:
|
|
7
|
+
branches:
|
|
8
|
+
- "*"
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
running-tests:
|
|
12
|
+
uses: kaltura/ovp-pipelines-pub/.github/workflows/player_tests.yaml@v1.0.0
|
|
13
|
+
with:
|
|
14
|
+
yarn-run-to-execute: 'eslint flow test'
|
|
15
|
+
notification:
|
|
16
|
+
if: always()
|
|
17
|
+
uses: kaltura/ovp-pipelines-pub/.github/workflows/notification.yaml@v1.0.0
|
|
18
|
+
needs: running-tests
|
|
19
|
+
secrets:
|
|
20
|
+
PLAYER_MSTEAMS_WEBHOOK: ${{ secrets.PLAYER_MSTEAMS_WEBHOOK }}
|
|
21
|
+
with:
|
|
22
|
+
failure-status: ${{ contains(needs.*.result, 'failure') }}
|
|
23
|
+
cancelled-status: ${{ contains(needs.*.result, 'cancelled') }}
|
|
24
|
+
is-test: 'true'
|
package/.prettierignore
ADDED
package/.prettierrc
ADDED