pb-sxp-ui 1.0.29 → 1.0.30

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.
@@ -231,16 +231,16 @@ const VideoWidget = ({ rec, index, height, data, muted, activeIndex, videoPostCo
231
231
  React.createElement("div", { style: {
232
232
  position: 'absolute',
233
233
  width: '100%',
234
- height: 'auto',
234
+ height: '100%',
235
235
  top: '50%',
236
236
  transform: translateY,
237
237
  left: 0,
238
238
  right: 0
239
239
  } },
240
- React.createElement("div", { style: { position: 'relative' } },
240
+ React.createElement("div", { style: { position: 'relative', width: '100%', height: '100%' } },
241
241
  React.createElement("video", { id: `pb-video-${index}`, className: 'clc-pb-video', ref: videoRef, crossOrigin: 'anonymous', muted: true, controls: false, playsInline: true, preload: 'auto', onPause: onPause, onEnded: handleVideoStart, style: {
242
242
  width: '100%',
243
- height: 'auto',
243
+ height: '100%',
244
244
  objectFit: 'contain'
245
245
  } }),
246
246
  React.createElement("img", { hidden: !isPauseVideo, className: 'clc-pb-video-pause', src: PAUSE_ICON }))),
@@ -234,16 +234,16 @@ const VideoWidget = ({ rec, index, height, data, muted, activeIndex, videoPostCo
234
234
  react_1.default.createElement("div", { style: {
235
235
  position: 'absolute',
236
236
  width: '100%',
237
- height: 'auto',
237
+ height: '100%',
238
238
  top: '50%',
239
239
  transform: translateY,
240
240
  left: 0,
241
241
  right: 0
242
242
  } },
243
- react_1.default.createElement("div", { style: { position: 'relative' } },
243
+ react_1.default.createElement("div", { style: { position: 'relative', width: '100%', height: '100%' } },
244
244
  react_1.default.createElement("video", { id: `pb-video-${index}`, className: 'clc-pb-video', ref: videoRef, crossOrigin: 'anonymous', muted: true, controls: false, playsInline: true, preload: 'auto', onPause: onPause, onEnded: handleVideoStart, style: {
245
245
  width: '100%',
246
- height: 'auto',
246
+ height: '100%',
247
247
  objectFit: 'contain'
248
248
  } }),
249
249
  react_1.default.createElement("img", { hidden: !isPauseVideo, className: 'clc-pb-video-pause', src: PAUSE_ICON }))),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pb-sxp-ui",
3
- "version": "1.0.29",
3
+ "version": "1.0.30",
4
4
  "description": "React enterprise-class UI components",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",