Skip to content

Commit

Permalink
feat(FEC-10291): migrate analytics plugins injection from kaltura pla…
Browse files Browse the repository at this point in the history
…yer to server (#337)

remove analytics plugins injection

Related to kaltura/server#9592

Solves FEC-10291
  • Loading branch information
yairans authored Jul 16, 2020
1 parent 167befd commit 1caf168
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 24 deletions.
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,9 @@
"webpack-merge": "^4.2.2"
},
"dependencies": {
"@playkit-js/playkit-js": "^0.62.0",
"@playkit-js/playkit-js": "0.62.1-canary.4015286",
"@playkit-js/playkit-js-dash": "^1.18.3",
"@playkit-js/playkit-js-hls": "^1.19.1",
"@playkit-js/playkit-js-kava": "^0.17.1",
"@playkit-js/playkit-js-ott-analytics": "^0.5.2",
"@playkit-js/playkit-js-ui": "^0.57.0",
"babel-polyfill": "^6.23.0",
"hls.js": "^0.13.1",
Expand Down
2 changes: 0 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import * as providers from 'playkit-js-providers';
// Import media source adapters
import '@playkit-js/playkit-js-hls';
import '@playkit-js/playkit-js-dash';
// Import analytics plugin
import 'playkit-js-analytics';
// Import shaka-player
import * as shaka from 'shaka-player';
// Import setup method
Expand Down
3 changes: 0 additions & 3 deletions src/ott/analytics.js

This file was deleted.

2 changes: 0 additions & 2 deletions src/ovp/analytics.js

This file was deleted.

1 change: 0 additions & 1 deletion webpack.config.ott.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ const entry = {

const alias = {
'playkit-js-providers': path.resolve('./node_modules/playkit-js-providers/dist/playkit-ott-provider'),
'playkit-js-analytics': path.resolve('./src/ott/analytics'),
'player-defaults': path.resolve('./src/ott/player-defaults'),
poster: path.resolve('./src/ott/poster')
};
Expand Down
1 change: 0 additions & 1 deletion webpack.config.ovp.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ const entry = {

const alias = {
'playkit-js-providers': path.resolve('./node_modules/playkit-js-providers/dist/playkit-ovp-provider'),
'playkit-js-analytics': path.resolve('./src/ovp/analytics'),
'player-defaults': path.resolve('./src/ovp/player-defaults'),
poster: path.resolve('./src/ovp/poster')
};
Expand Down
16 changes: 4 additions & 12 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,6 @@
version "1.19.1"
resolved "https://registry.yarnpkg.com/@playkit-js/playkit-js-hls/-/playkit-js-hls-1.19.1.tgz#ddede5681cb9520fbd8e9d0954f89e3ee1e1dad0"

"@playkit-js/playkit-js-kava@^0.17.1":
version "0.17.1"
resolved "https://registry.yarnpkg.com/@playkit-js/playkit-js-kava/-/playkit-js-kava-0.17.1.tgz#1929a8173bc4a39d3052c152e10231cb7ff9f878"

"@playkit-js/playkit-js-ott-analytics@^0.5.2":
version "0.5.2"
resolved "https://registry.yarnpkg.com/@playkit-js/playkit-js-ott-analytics/-/playkit-js-ott-analytics-0.5.2.tgz#a6e14c3d51e8448bf8c93e0ece503c6853741a27"

"@playkit-js/playkit-js-ui@^0.57.0":
version "0.57.0"
resolved "https://registry.yarnpkg.com/@playkit-js/playkit-js-ui/-/playkit-js-ui-0.57.0.tgz#164c044f280887f277c7ecdff032a78a4d7bd7cb"
Expand All @@ -37,10 +29,10 @@
react-redux "^7.2.0"
redux "^3.6.0"

"@playkit-js/playkit-js@^0.62.0":
version "0.62.0"
resolved "https://registry.yarnpkg.com/@playkit-js/playkit-js/-/playkit-js-0.62.0.tgz#af68874b1182e5ae436ab1ca4e7a49cd0f7d3cee"
integrity sha512-96IP8Sb3qQ7her5kdAfxD9ly3gO435CEuHrvY+mC2pqV/ELvHtezFg1jVl/jrlXlvwsHqf5VQJU+70NaO/Vliw==
"@playkit-js/[email protected].1-canary.4015286":
version "0.62.1-canary.4015286"
resolved "https://registry.yarnpkg.com/@playkit-js/playkit-js/-/playkit-js-0.62.1-canary.4015286.tgz#39bd06c89b0988fcb2e99fa303e5a6d7b4a90fd1"
integrity sha512-A37QPIwHI7JVDsNQ3bTCcPi15o2/glaal5KkJllnb1xvzjM+X7Cri+qYPwRn1FlW9UH5gdQWfQRL7PiICNAt8A==
dependencies:
js-logger "^1.3.0"
ua-parser-js "^0.7.13"
Expand Down

0 comments on commit 1caf168

Please sign in to comment.