@kkcompany/player 2.9.21 → 2.9.22

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/dist/index.mjs CHANGED
@@ -316,7 +316,7 @@ function convertToSeconds(timeString) {
316
316
  function getVersion() {
317
317
  try {
318
318
  // eslint-disable-next-line no-undef
319
- return "2.9.21";
319
+ return "2.9.22";
320
320
  } catch (e) {
321
321
  return undefined;
322
322
  }
@@ -712,8 +712,7 @@ const load = async (media, {
712
712
  });
713
713
  const [drmOptions, extensions] = getDrmOptions(preferred);
714
714
  player.configure({
715
- drm: {
716
- playerOptions,
715
+ drm: { ...playerOptions,
717
716
  ...drmOptions
718
717
  }
719
718
  });
@@ -13810,7 +13809,7 @@ const createAnalytics = ({
13810
13809
  const logTarget = mapLogEvents({
13811
13810
  video,
13812
13811
  playerName: 'shaka',
13813
- version: "2.9.21"
13812
+ version: "2.9.22"
13814
13813
  });
13815
13814
  logTarget.all((type, data) => {
13816
13815
  const payload = {
package/dist/modules.mjs CHANGED
@@ -531,7 +531,7 @@ const getSource = (sourceOptions, {
531
531
  function getVersion() {
532
532
  try {
533
533
  // eslint-disable-next-line no-undef
534
- return "2.9.21";
534
+ return "2.9.22";
535
535
  } catch (e) {
536
536
  return undefined;
537
537
  }
@@ -1510,7 +1510,7 @@ const createAnalytics = ({
1510
1510
  const logTarget = mapLogEvents({
1511
1511
  video,
1512
1512
  playerName: 'shaka',
1513
- version: "2.9.21"
1513
+ version: "2.9.22"
1514
1514
  });
1515
1515
  logTarget.all((type, data) => {
1516
1516
  const payload = {
package/dist/react.mjs CHANGED
@@ -313,7 +313,7 @@ function convertToSeconds(timeString) {
313
313
  function getVersion() {
314
314
  try {
315
315
  // eslint-disable-next-line no-undef
316
- return "2.9.21";
316
+ return "2.9.22";
317
317
  } catch (e) {
318
318
  return undefined;
319
319
  }
@@ -709,8 +709,7 @@ const load = async (media, {
709
709
  });
710
710
  const [drmOptions, extensions] = getDrmOptions(preferred);
711
711
  player.configure({
712
- drm: {
713
- playerOptions,
712
+ drm: { ...playerOptions,
714
713
  ...drmOptions
715
714
  }
716
715
  });
@@ -14947,7 +14946,7 @@ const createAnalytics = ({
14947
14946
  const logTarget = mapLogEvents({
14948
14947
  video,
14949
14948
  playerName: 'shaka',
14950
- version: "2.9.21"
14949
+ version: "2.9.22"
14951
14950
  });
14952
14951
  logTarget.all((type, data) => {
14953
14952
  const payload = {
@@ -18236,7 +18235,7 @@ const PremiumPlusPlayer = ({
18236
18235
  const restPlayerName = ['shaka', 'bitmovin'].find(name => name in rest);
18237
18236
  logTarget.current = mapLogEvents$1({
18238
18237
  playerName: restPlayerName || 'shaka',
18239
- version: "2.9.21",
18238
+ version: "2.9.22",
18240
18239
  video: videoRef.current,
18241
18240
  getPlaybackStatus: () => getMediaTime(videoRef.current, {
18242
18241
  player: corePlayerRef.current,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kkcompany/player",
3
- "version": "2.9.21",
3
+ "version": "2.9.22",
4
4
  "module": "dist/index.mjs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -128,7 +128,7 @@
128
128
  "mitt": "^3.0.0",
129
129
  "react-cool-dimensions": "^2.0.7",
130
130
  "react-cool-onclickoutside": "1.7.0",
131
- "shaka-player": "^4.2.2",
131
+ "shaka-player": "4.15.2",
132
132
  "ua-parser-js": "^1.0.37"
133
133
  },
134
134
  "peerDependencies": {