@ray-js/ray-ipc-player 2.0.20-beta-9 → 2.0.20-beta-11

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.
Files changed (2) hide show
  1. package/lib/index.js +1 -1
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -289,7 +289,7 @@ const Player = props => {
289
289
  const isOnPreview = await getIsOnPreview(ipcCtx.current);
290
290
  ipcTTTOperatorLog("VID: get_is_on_preview_status_".concat(isOnPreview));
291
291
  // console.error('开启失败:', e, devId, isOnPreview);
292
- if (!isOnPreview || e !== null && e !== void 0 && e.errorMsg.includes('doing preview')) {
292
+ if (isOnPreview || e !== null && e !== void 0 && e.errorMsg.includes('doing preview')) {
293
293
  // 忽略重复预览异常的报错
294
294
  setPlayState(d => {
295
295
  d.loadingState = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/ray-ipc-player",
3
- "version": "2.0.20-beta-9",
3
+ "version": "2.0.20-beta-11",
4
4
  "description": "ray小程序播放器",
5
5
  "keywords": [
6
6
  "tuya-miniapp",