pb-sxp-ui 1.0.89 → 1.0.90

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.
@@ -179,7 +179,7 @@ const VideoWidget = ({ rec, index, height, data, muted, activeIndex, videoPostCo
179
179
  if (Hls.isSupported()) {
180
180
  const hls = new Hls();
181
181
  hls.loadSource(videoSrc);
182
- hls.attachMedia(videoRef.current);
182
+ hls.attachMedia(videoRef);
183
183
  }
184
184
  else {
185
185
  videoRef.src = videoSrc;
@@ -182,7 +182,7 @@ const VideoWidget = ({ rec, index, height, data, muted, activeIndex, videoPostCo
182
182
  if (hls_js_1.default.isSupported()) {
183
183
  const hls = new hls_js_1.default();
184
184
  hls.loadSource(videoSrc);
185
- hls.attachMedia(videoRef.current);
185
+ hls.attachMedia(videoRef);
186
186
  }
187
187
  else {
188
188
  videoRef.src = videoSrc;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pb-sxp-ui",
3
- "version": "1.0.89",
3
+ "version": "1.0.90",
4
4
  "description": "React enterprise-class UI components",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",