softbuilders-react-video-player 1.2.3 → 1.2.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -73,8 +73,8 @@ const Component = forwardRef(({ options, notes, chapters, startTime = 0, handleS
73
73
  return (_jsx(VideoPlayerComponent, { id: id, chapters: chapters, options: Object.assign(Object.assign({}, mergedOptions), { tracks }), notes: notes, poster: "", startTime: startTime, handleSaveNoteAction: handleSaveNoteAction, disableNote: disableNote, onPause: onPause, onPlay: onPlay, childRef: childRef, bottomRedBar: bottomRedBar, noteButtonClick: noteButtonClick }));
74
74
  });
75
75
  const SoftBuildersVideoPlayer = memo(Component, (prevProps, nextProps) => {
76
- console.log(isEqual(prevProps.options, nextProps.options, "oooop"));
77
- console.log(nextProps.notes, prevProps.notes, "oooop");
76
+ console.log(isEqual(prevProps.options, nextProps.options));
77
+ console.log(nextProps.notes, prevProps.notes);
78
78
  return (isEqual(prevProps.options, nextProps.options) &&
79
79
  prevProps.notes === nextProps.notes &&
80
80
  prevProps.chapters === nextProps.chapters &&
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/SoftBuildersVideoPlayer/index.tsx"],"names":[],"mappings":";AAAA,OAAc,EACZ,UAAU,EACV,IAAI,EACJ,WAAW,EACX,SAAS,EACT,OAAO,EACP,QAAQ,GACT,MAAM,OAAO,CAAC;AACf,OAAO,oBAAoB,MAAM,yBAAyB,CAAC;AAO3D,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACjC,MAAM,eAAe,GAAmC;IACtD,QAAQ,EAAE,KAAK;IACf,QAAQ,EAAE,IAAI;IACd,KAAK,EAAE,KAAK;IACZ,KAAK,EAAE,IAAI;IACX,MAAM,EAAE,GAAG;IACX,KAAK,EAAE,GAAG;IACV,OAAO,EAAE,EAAE;IACX,MAAM,EAAE,EAAE;CACX,CAAC;AAiBF,MAAM,SAAS,GAAG,UAAU,CAC1B,CACE,EACE,O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AE,OAAO,CAAC,CAAC,CAAC;IACpE,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,KAAK,EAAE,SAAS,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAEvD,OAAO,CACL,OAAO,CAAC,SAAS,CAAC,OAAO,EAAE,SAAS,CAAC,OAAO,CAAC;QAC7C,SAAS,CAAC,KAAK,KAAK,SAAS,CAAC,KAAK;QACnC,SAAS,CAAC,QAAQ,KAAK,SAAS,CAAC,QAAQ;QACzC,SAAS,CAAC,SAAS,KAAK,SAAS,CAAC,SAAS,CAC5C,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,eAAe,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/SoftBuildersVideoPlayer/index.tsx"],"names":[],"mappings":";AAAA,OAAc,EACZ,UAAU,EACV,IAAI,EACJ,WAAW,EACX,SAAS,EACT,OAAO,EACP,QAAQ,GACT,MAAM,OAAO,CAAC;AACf,OAAO,oBAAoB,MAAM,yBAAyB,CAAC;AAO3D,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACjC,MAAM,eAAe,GAAmC;IACtD,QAAQ,EAAE,KAAK;IACf,QAAQ,EAAE,IAAI;IACd,KAAK,EAAE,KAAK;IACZ,KAAK,EAAE,IAAI;IACX,MAAM,EAAE,GAAG;IACX,KAAK,EAAE,GAAG;IACV,OAAO,EAAE,EAAE;IACX,MAAM,EAAE,EAAE;CACX,CAAC;AAiBF,MAAM,SAAS,GAAG,UAAU,CAC1B,CACE,EACE,OAAO,EACP,KAAK,EACL,QAAQ,EACR,SAAS,GAAG,CAAC,EACb,oBAAoB,EACpB,MAAM,EACN,OAAO,EACP,SAAS,GAAG,IAAI,EAChB,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,eAAe,GACJ,EACb,GAAS,EACT,EAAE;IACF,cAAc;IACd,gBAAgB;IAChB,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S,CAAC,KAAK;QACnC,SAAS,CAAC,QAAQ,KAAK,SAAS,CAAC,QAAQ;QACzC,SAAS,CAAC,SAAS,KAAK,SAAS,CAAC,SAAS,CAC5C,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,eAAe,uBAAuB,CAAC"}
@@ -158,8 +158,8 @@ const Component = forwardRef<HTMLDivElement, Props<any>>(
158
158
  );
159
159
 
160
160
  const SoftBuildersVideoPlayer = memo(Component, (prevProps, nextProps) => {
161
- console.log(isEqual(prevProps.options, nextProps.options, "oooop"));
162
- console.log(nextProps.notes, prevProps.notes, "oooop");
161
+ console.log(isEqual(prevProps.options, nextProps.options));
162
+ console.log(nextProps.notes, prevProps.notes);
163
163
 
164
164
  return (
165
165
  isEqual(prevProps.options, nextProps.options) &&
package/dist/index.mjs CHANGED
@@ -2031,8 +2031,8 @@ var Component = forwardRef2(
2031
2031
  }
2032
2032
  );
2033
2033
  var SoftBuildersVideoPlayer = memo(Component, (prevProps, nextProps) => {
2034
- console.log(isEqual2(prevProps.options, nextProps.options, "oooop"));
2035
- console.log(nextProps.notes, prevProps.notes, "oooop");
2034
+ console.log(isEqual2(prevProps.options, nextProps.options));
2035
+ console.log(nextProps.notes, prevProps.notes);
2036
2036
  return isEqual2(prevProps.options, nextProps.options) && prevProps.notes === nextProps.notes && prevProps.chapters === nextProps.chapters && prevProps.startTime === nextProps.startTime;
2037
2037
  });
2038
2038
  var SoftBuildersVideoPlayer_default = SoftBuildersVideoPlayer;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "softbuilders-react-video-player",
3
3
  "description": "Standalone video player component",
4
- "version": "1.2.3",
4
+ "version": "1.2.4",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "files": [