react_hsbc_teller 1.5.8 → 1.5.9
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/hsbc.js +1 -1
- package/package.json +1 -1
- package/packages/pages/video/video.jsx +16 -15
package/package.json
CHANGED
|
@@ -2635,9 +2635,9 @@ class Video extends Component {
|
|
|
2635
2635
|
screenName: '共享模式'
|
|
2636
2636
|
});
|
|
2637
2637
|
this.tabTitlesClick('RMScreen', 'delect')
|
|
2638
|
-
if (this.state.isPictureInPicture) {
|
|
2639
|
-
|
|
2640
|
-
}
|
|
2638
|
+
// if (this.state.isPictureInPicture) {
|
|
2639
|
+
// document.exitPictureInPicture()
|
|
2640
|
+
// }
|
|
2641
2641
|
|
|
2642
2642
|
}
|
|
2643
2643
|
};
|
|
@@ -2994,9 +2994,9 @@ class Video extends Component {
|
|
|
2994
2994
|
});
|
|
2995
2995
|
console.log(pictureInPictureVideo)
|
|
2996
2996
|
this.tabTitlesClick('RMScreen', 'delect')
|
|
2997
|
-
if (this.state.isPictureInPicture) {
|
|
2998
|
-
|
|
2999
|
-
}
|
|
2997
|
+
// if (this.state.isPictureInPicture) {
|
|
2998
|
+
// document.exitPictureInPicture()
|
|
2999
|
+
// }
|
|
3000
3000
|
}
|
|
3001
3001
|
};
|
|
3002
3002
|
// 服务端录制初始化成功
|
|
@@ -3134,9 +3134,9 @@ class Video extends Component {
|
|
|
3134
3134
|
});
|
|
3135
3135
|
console.log(pictureInPictureVideo)
|
|
3136
3136
|
this.tabTitlesClick('RMScreen', 'delect')
|
|
3137
|
-
if (this.state.isPictureInPicture) {
|
|
3138
|
-
|
|
3139
|
-
}
|
|
3137
|
+
// if (this.state.isPictureInPicture) {
|
|
3138
|
+
// document.exitPictureInPicture()
|
|
3139
|
+
// }
|
|
3140
3140
|
// if (!this.state.laveRoomSharedScreen && this.state.isSharedScreen) {
|
|
3141
3141
|
// this.sharedScreen()
|
|
3142
3142
|
// }
|
|
@@ -3210,6 +3210,9 @@ class Video extends Component {
|
|
|
3210
3210
|
clearInterval(value)
|
|
3211
3211
|
})
|
|
3212
3212
|
this.timer && clearInterval(this.timer);
|
|
3213
|
+
if (this.state.isPictureInPicture) {
|
|
3214
|
+
document.exitPictureInPicture()
|
|
3215
|
+
}
|
|
3213
3216
|
if(this.state.isSharedScreen) {
|
|
3214
3217
|
this.setState({
|
|
3215
3218
|
screenName: '共享模式',
|
|
@@ -3217,9 +3220,7 @@ class Video extends Component {
|
|
|
3217
3220
|
this.state.isSharedScreen = false
|
|
3218
3221
|
this.state.laveRoomSharedScreen = true
|
|
3219
3222
|
// this.test_controller.UnPublish(document.getElementById('video20').name)
|
|
3220
|
-
|
|
3221
|
-
document.exitPictureInPicture()
|
|
3222
|
-
}
|
|
3223
|
+
|
|
3223
3224
|
|
|
3224
3225
|
this.props.onLeaveRoom({
|
|
3225
3226
|
code: LEAVE_TYPE.TELLER_EXIT,
|
|
@@ -4191,9 +4192,9 @@ class Video extends Component {
|
|
|
4191
4192
|
screenName: '共享模式'
|
|
4192
4193
|
});
|
|
4193
4194
|
this.tabTitlesClick('RMScreen', 'delect')
|
|
4194
|
-
if (this.state.isPictureInPicture) {
|
|
4195
|
-
|
|
4196
|
-
}
|
|
4195
|
+
// if (this.state.isPictureInPicture) {
|
|
4196
|
+
// document.exitPictureInPicture()
|
|
4197
|
+
// }
|
|
4197
4198
|
}
|
|
4198
4199
|
}
|
|
4199
4200
|
|