@ray-js/ray-ipc-player 2.0.20-beta-4 → 2.0.20-beta-6

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/lib/index.js CHANGED
@@ -583,7 +583,7 @@ const Player = props => {
583
583
  } = data === null || data === void 0 ? void 0 : data.detail;
584
584
  if (deviceId === devId) {
585
585
  setVideoErrCode(errCode);
586
- props.onCameraPreviewFailure && props.onCameraPreviewFailure(errCode);
586
+ props.onCameraPreviewFailure && onCameraPreviewFailure(errCode);
587
587
  }
588
588
  }
589
589
  },
@@ -173,13 +173,13 @@
173
173
  .errTextContainer {
174
174
  .errContent {
175
175
  color: #ffffff;
176
- font-size: 24rpx;
176
+ font-size: 12px;
177
177
  font-weight: 400;
178
178
  }
179
179
  .errDesc {
180
- margin-top: 10rpx;
180
+ margin-top: 5px;
181
181
  color: rgba(255,255,255,0.7);
182
- font-size: 24rpx;
182
+ font-size: 12px;
183
183
  font-weight: 400;
184
184
  }
185
185
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/ray-ipc-player",
3
- "version": "2.0.20-beta-4",
3
+ "version": "2.0.20-beta-6",
4
4
  "description": "ray小程序播放器",
5
5
  "keywords": [
6
6
  "tuya-miniapp",