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

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
@@ -402,7 +402,7 @@ const Player = props => {
402
402
  } else {
403
403
  ipcTTTOperatorLog('VID: onVideoTap_event_trigger_not_send');
404
404
  }
405
- }, [playState.loadingState, playState.errorState, onlineStatus, privateState]);
405
+ }, [onPlayerTap, playState.loadingState, playState.errorState, onlineStatus, privateState]);
406
406
 
407
407
  /**
408
408
  * 退出横屏
@@ -669,6 +669,9 @@ const Player = props => {
669
669
  className: clsx(Styles.errOperatorContainer)
670
670
  }, getErrorContentByType(videoErrCode, 'retry') && /*#__PURE__*/React.createElement(View, {
671
671
  className: clsx(Styles.operatorBtn, Styles.operatorRetry),
672
+ style: {
673
+ backgroundColor: "".concat(brandColor)
674
+ },
672
675
  onClick: retry
673
676
  }, getErrorContentByType(videoErrCode, 'retryText')), getErrorContentByType(videoErrCode, 'help') && /*#__PURE__*/React.createElement(View, {
674
677
  className: clsx(Styles.operatorBtn, Styles.operatorHelp),
@@ -224,7 +224,7 @@
224
224
  margin: 0
225
225
  }
226
226
  .operatorRetry {
227
- background-color: red;
227
+ background-color: #FF592A;
228
228
  }
229
229
  .operatorHelp {
230
230
  background-color: #252525;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/ray-ipc-player",
3
- "version": "2.0.20-beta-6",
3
+ "version": "2.0.20-beta-8",
4
4
  "description": "ray小程序播放器",
5
5
  "keywords": [
6
6
  "tuya-miniapp",
@@ -1,7 +0,0 @@
1
- declare module '*.module.less' {
2
- const classes: { [key: string]: string };
3
- export default classes;
4
- }
5
-
6
- declare module '*.less';
7
- declare module '*.png';