@ray-js/ipc-player-integration 0.0.2 → 0.0.4

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/ui/ui.js +1 -0
  2. package/package.json +3 -3
package/lib/ui/ui.js CHANGED
@@ -120,6 +120,7 @@ export const IPCPlayerIntegration = /*#__PURE__*/React.memo(props => {
120
120
  setScreenType('vertical');
121
121
  } else {
122
122
  setScreenType(type === 'landscape' ? 'full' : 'vertical');
123
+ triggerEvent(showAllComponent);
123
124
  }
124
125
  // 若为全屏模式并且要求按宽填充,即横屏时充满,主动设置模式为-1即可
125
126
  if (type === 'landscape' && landscapeMode === 'fill') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/ipc-player-integration",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "description": "IPC 播放器功能集成",
5
5
  "main": "lib/index",
6
6
  "files": [
@@ -32,14 +32,14 @@
32
32
  "test": "yarn jest"
33
33
  },
34
34
  "peerDependencies": {
35
- "@ray-js/direction-control": "0.0.7",
35
+ "@ray-js/direction-control": "^0.0.7",
36
36
  "ahooks": "^3.1.6"
37
37
  },
38
38
  "dependencies": {
39
39
  "@ray-js/ipc-ptz-zoom": "0.0.2",
40
40
  "@ray-js/panel-sdk": "^1.13.1",
41
41
  "@ray-js/ray-ipc-player": "2.0.20",
42
- "@ray-js/ray-ipc-utils": "1.1.0",
42
+ "@ray-js/ray-ipc-utils": "1.1.1",
43
43
  "@ray-js/svg": "0.2.0",
44
44
  "clsx": "^1.2.1",
45
45
  "jotai": "^2.10.2"