pb-sxp-ui 1.0.97 → 1.0.98

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/pb-ui.js CHANGED
@@ -13069,7 +13069,8 @@ Made in Italy` })));
13069
13069
  videoRef === null || videoRef === void 0 ? void 0 : videoRef.addEventListener('canplay', handlePlay);
13070
13070
  videoRef === null || videoRef === void 0 ? void 0 : videoRef.addEventListener('waiting', handleWaiting);
13071
13071
  return () => {
13072
- hls.destroy();
13072
+ if (hls)
13073
+ hls === null || hls === void 0 ? void 0 : hls.destroy();
13073
13074
  setIsLoadFinish(false);
13074
13075
  dom2 === null || dom2 === void 0 ? void 0 : dom2.appendChild(dom);
13075
13076
  videoRef === null || videoRef === void 0 ? void 0 : videoRef.removeEventListener('loadedmetadata', handleLoadedmetadata);