react_hsbc_teller 1.2.2 → 1.2.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react_hsbc_teller",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "React",
5
5
  "private": false,
6
6
  "main": "lib/hsbc.js",
@@ -322,15 +322,6 @@ class Video extends Component {
322
322
  publish_tag: 'tag1'
323
323
  }
324
324
  ];
325
- const recordParam = {};
326
- recordParam.width = 640;
327
- recordParam.height = 360;
328
- recordParam.channels = 1;
329
- recordParam.splitType = 0;
330
- recordParam.startTimeout = 5;
331
- recordParam.recordTotalStream = 0;
332
- recordParam.endType = 1;
333
- config_param.recordParam = recordParam;
334
325
  config_param.initSubscribe = [
335
326
  {
336
327
  subscribe_video_id: 'video1',
@@ -375,8 +366,8 @@ class Video extends Component {
375
366
  enableServerRecording = () => {
376
367
  const filePath = 'recordId_' + new Date().valueOf();
377
368
  const recordParam = {};
378
- recordParam.width = 1280;
379
- recordParam.height = 720;
369
+ recordParam.width = 1920;
370
+ recordParam.height = 1080;
380
371
  recordParam.recordTotalStream = 0;
381
372
  recordParam.startTimeout = 10;
382
373
  recordParam.splitType = 0;
@@ -408,101 +399,101 @@ class Video extends Component {
408
399
  recordParam.tagPositions = [
409
400
  {
410
401
  tag: 'projectionWhiteboard',
411
- xPosition: '0',
412
- yPosition: '360',
413
- width: '640',
414
- height: '360'
402
+ xPosition: 0,
403
+ yPosition: 360,
404
+ width: 1120,
405
+ height: 360
415
406
  },
416
407
  {
417
408
  tag: 'VIDEO_SOURCE_SCREEN',
418
- xPosition: '0',
419
- yPosition: '144',
420
- width: '256',
421
- height: '144'
409
+ xPosition: 0,
410
+ yPosition: 144,
411
+ width: 256,
412
+ height: 144
422
413
  },
423
414
  {
424
415
  tag: 'tag1',
425
- xPosition: '0',
426
- yPosition: '0',
427
- width: '160',
428
- height: '144'
416
+ xPosition: 0,
417
+ yPosition: 0,
418
+ width: 160,
419
+ height: 144
429
420
  },
430
421
  {
431
422
  tag: 'customer1',
432
- xPosition: '160',
433
- yPosition: '0',
434
- width: '160',
435
- height: '144'
423
+ xPosition: 160,
424
+ yPosition: 0,
425
+ width: 160,
426
+ height: 144
436
427
  },
437
428
  {
438
429
  tag: 'customer2',
439
- xPosition: '320',
440
- yPosition: '0',
441
- width: '160',
442
- height: '144'
430
+ xPosition: 320,
431
+ yPosition: 0,
432
+ width: 160,
433
+ height: 144
443
434
  },
444
435
  {
445
436
  tag: 'customer3',
446
- xPosition: '480',
447
- yPosition: '0',
448
- width: '160',
449
- height: '144'
437
+ xPosition: 480,
438
+ yPosition: 0,
439
+ width: 160,
440
+ height: 144
450
441
  },
451
442
  {
452
443
  tag: 'customer4',
453
- xPosition: '640',
454
- yPosition: '0',
455
- width: '160',
456
- height: '144'
444
+ xPosition: 640,
445
+ yPosition: 0,
446
+ width: 160,
447
+ height: 144
457
448
  },
458
449
  {
459
450
  tag: 'customer5',
460
- xPosition: '800',
461
- yPosition: '0',
462
- width: '160',
463
- height: '144'
451
+ xPosition: 800,
452
+ yPosition: 0,
453
+ width: 160,
454
+ height: 144
464
455
  },
465
456
  {
466
457
  tag: 'customer6',
467
- xPosition: '960',
468
- yPosition: '0',
469
- width: '160',
470
- height: '144'
458
+ xPosition: 960,
459
+ yPosition: 0,
460
+ width: 160,
461
+ height: 144
471
462
  },
472
463
  {
473
464
  tag: 'customer7',
474
- xPosition: '1120',
475
- yPosition: '0',
476
- width: '160',
477
- height: '144'
465
+ xPosition: 1120,
466
+ yPosition: 0,
467
+ width: 160,
468
+ height: 144
478
469
  },
479
470
  {
480
471
  tag: 'customer8',
481
- xPosition: '1120',
482
- yPosition: '144',
483
- width: '160',
484
- height: '144'
472
+ xPosition: 1120,
473
+ yPosition: 144,
474
+ width: 160,
475
+ height: 144
485
476
  },
486
477
  {
487
478
  tag: 'customer9',
488
- xPosition: '1120',
489
- yPosition: '288',
490
- width: '160',
491
- height: '144'
479
+ xPosition: 1120,
480
+ yPosition: 288,
481
+ width: 160,
482
+ height: 144
492
483
  },
493
484
  {
494
485
  tag: 'customer10',
495
- xPosition: '1120',
496
- yPosition: '432',
497
- width: '160',
498
- height: '144'
486
+ xPosition: 1120,
487
+ yPosition: 432,
488
+ width: 160,
489
+ height: 144
499
490
  },
500
491
  {
501
492
  tag: 'customer11',
502
- xPosition: '1120',
503
- yPosition: '576',
504
- width: '160',
505
- height: '144'
493
+ xPosition: 1120,
494
+ yPosition: 576,
495
+ width: 160,
496
+ height: 144
506
497
  }
507
498
  ]
508
499
  console.log('recordParam', recordParam);
@@ -1742,14 +1733,14 @@ class Video extends Component {
1742
1733
  if (!this.state.appId && !this.state.sessionType) {
1743
1734
  this.mpaasSig(data);
1744
1735
  let indexId = 0
1745
- obj.map((item,index)=>{
1736
+ objList.map((item,index)=>{
1746
1737
  if(item.actionname.indexOf('Integrated Camera' != -1)) {
1747
1738
  indexId = index
1748
1739
  }
1749
1740
  })
1750
1741
  this.setState({
1751
- cameraValue: obj[indexId].actionid,
1752
- microphoneValue: obj1[0].actionid
1742
+ cameraValue: objList[indexId].actionid,
1743
+ microphoneValue: objList1[0].actionid
1753
1744
  })
1754
1745
  } else {
1755
1746
  this.setState({
@@ -3729,7 +3720,7 @@ class Video extends Component {
3729
3720
  employeeError: result.data.staffName ? '' : '查无此人',
3730
3721
  })
3731
3722
  if(result.data.staffName){
3732
- this.state.linkData = 'https://wp-staff-gateway.wealth-platform.uat.ali.cloud.cn.hsbc/meeting-ui/OHB/CN/HSBC?chnlID=OHB&locale=zh_CN&chnlCC=CN&chnlGMC=HSBC&targetFunc=supervisorMeeting&sourceFunc=rmMeeting&appointmentID='+ this.props.businessNumber + '&staffID='+this.state.employeeNumber+'&staffName='+ encodeURIComponent(result.data.staffName)
3723
+ this.state.linkData = this.props.internalUrl + '&appointmentID='+ this.props.businessNumber + '&staffID='+this.state.employeeNumber+'&staffName='+ encodeURIComponent(result.data.staffName)
3733
3724
 
3734
3725
  }
3735
3726
  } else {
@@ -3769,11 +3760,13 @@ class Video extends Component {
3769
3760
  const canvas = document.createElement('canvas');
3770
3761
  const videoMedia = document.getElementById('manedvideo');
3771
3762
  const cobj = canvas.getContext('2d'); // 获取绘图环境
3772
- const left = document.getElementById("whiteboardDIV").getBoundingClientRect().left;
3773
- const top = document.getElementById("whiteboardDIV").getBoundingClientRect().top
3763
+ const left =document.getElementById("allHSBC").getBoundingClientRect().left;
3774
3764
  const right = document.getElementById("whiteboardDIV").getBoundingClientRect().right
3775
- const width = left > 21 ? right : right + left
3776
- const height = document.getElementById("whiteboardDIV").getBoundingClientRect().height
3765
+ const top = document.getElementById("whiteboardDIV").getBoundingClientRect().top
3766
+ const bottom = document.getElementById("whiteboardDIV").getBoundingClientRect().bottom
3767
+ const width = right - left
3768
+ const height = bottom - top + 10
3769
+ const x = left - 20 > 0 ? left - 20 : 0
3777
3770
  canvas.width = width;
3778
3771
  canvas.height = height;
3779
3772
  videoMedia.addEventListener('play', (event) =>{
@@ -3782,7 +3775,7 @@ class Video extends Component {
3782
3775
  loop()
3783
3776
  function loop() {
3784
3777
  if (!$this.paused && !$this.ended) {
3785
- cobj.drawImage(videoMedia, 0, top, width, height, 0, 0,width, height);
3778
+ cobj.drawImage(videoMedia, x, top, width, height, 0, 0,width, height,);
3786
3779
  setTimeout(loop, 1000 / 10); // drawing at 30fps
3787
3780
  }
3788
3781
  }
@@ -3923,7 +3916,123 @@ class Video extends Component {
3923
3916
  console.log('whiteboardDIV', this.state.whiteboardHeight,box.clientHeight,this.state.whiteboardWidth)
3924
3917
  }
3925
3918
  }
3926
-
3919
+ muteOpposite = (value) => {
3920
+ console.log(value);
3921
+ if (value == 'video1') {
3922
+ callNimIM('sendCustomCmdMsg', {
3923
+ customId: this.state.imRoomId,
3924
+ content: JSON.stringify({
3925
+ 'typeId': 1223,
3926
+ 'sessionId': this.state.sessionId,
3927
+ 'userId': this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById('feedId1').innerText).uid
3928
+ })
3929
+ });
3930
+ }
3931
+ if (value == 'video2') {
3932
+ callNimIM('sendCustomCmdMsg', {
3933
+ customId: this.state.imRoomId,
3934
+ content: JSON.stringify({
3935
+ 'typeId': 1223,
3936
+ 'sessionId': this.state.sessionId,
3937
+ 'userId': this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById('feedId1').innerText).uid
3938
+ })
3939
+ });
3940
+ }if (value == 'video3') {
3941
+ callNimIM('sendCustomCmdMsg', {
3942
+ customId: this.state.imRoomId,
3943
+ content: JSON.stringify({
3944
+ 'typeId': 1223,
3945
+ 'sessionId': this.state.sessionId,
3946
+ 'userId': this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById('feedId1').innerText).uid
3947
+ })
3948
+ });
3949
+ }if (value == 'video4') {
3950
+ callNimIM('sendCustomCmdMsg', {
3951
+ customId: this.state.imRoomId,
3952
+ content: JSON.stringify({
3953
+ 'typeId': 1223,
3954
+ 'sessionId': this.state.sessionId,
3955
+ 'userId': this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById('feedId1').innerText).uid
3956
+ })
3957
+ });
3958
+ }if (value == 'video5') {
3959
+ callNimIM('sendCustomCmdMsg', {
3960
+ customId: this.state.imRoomId,
3961
+ content: JSON.stringify({
3962
+ 'typeId': 1223,
3963
+ 'sessionId': this.state.sessionId,
3964
+ 'userId': this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById('feedId1').innerText).uid
3965
+ })
3966
+ });
3967
+ }if (value == 'video6') {
3968
+ callNimIM('sendCustomCmdMsg', {
3969
+ customId: this.state.imRoomId,
3970
+ content: JSON.stringify({
3971
+ 'typeId': 1223,
3972
+ 'sessionId': this.state.sessionId,
3973
+ 'userId': this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById('feedId1').innerText).uid
3974
+ })
3975
+ });
3976
+ }if (value == 'video7') {
3977
+ callNimIM('sendCustomCmdMsg', {
3978
+ customId: this.state.imRoomId,
3979
+ content: JSON.stringify({
3980
+ 'typeId': 1223,
3981
+ 'sessionId': this.state.sessionId,
3982
+ 'userId': this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById('feedId1').innerText).uid
3983
+ })
3984
+ });
3985
+ }if (value == 'video8') {
3986
+ callNimIM('sendCustomCmdMsg', {
3987
+ customId: this.state.imRoomId,
3988
+ content: JSON.stringify({
3989
+ 'typeId': 1223,
3990
+ 'sessionId': this.state.sessionId,
3991
+ 'userId': this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById('feedId1').innerText).uid
3992
+ })
3993
+ });
3994
+ }if (value == 'video9') {
3995
+ callNimIM('sendCustomCmdMsg', {
3996
+ customId: this.state.imRoomId,
3997
+ content: JSON.stringify({
3998
+ 'typeId': 1223,
3999
+ 'sessionId': this.state.sessionId,
4000
+ 'userId': this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById('feedId1').innerText).uid
4001
+ })
4002
+ });
4003
+ }
4004
+ if (value == 'video10') {
4005
+ callNimIM('sendCustomCmdMsg', {
4006
+ customId: this.state.imRoomId,
4007
+ content: JSON.stringify({
4008
+ 'typeId': 1223,
4009
+ 'sessionId': this.state.sessionId,
4010
+ 'userId': this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById('feedId1').innerText).uid
4011
+ })
4012
+ });
4013
+ }
4014
+ if (value == 'video11') {
4015
+ callNimIM('sendCustomCmdMsg', {
4016
+ customId: this.state.imRoomId,
4017
+ content: JSON.stringify({
4018
+ 'typeId': 1223,
4019
+ 'sessionId': this.state.sessionId,
4020
+ 'userId': this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById('feedId1').innerText).uid
4021
+ })
4022
+ });
4023
+ }
4024
+ if (value == 'video12') {
4025
+ callNimIM('sendCustomCmdMsg', {
4026
+ customId: this.state.imRoomId,
4027
+ content: JSON.stringify({
4028
+ 'typeId': 1223,
4029
+ 'sessionId': this.state.sessionId,
4030
+ 'userId': this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById('feedId1').innerText).uid
4031
+ })
4032
+ });
4033
+ }
4034
+
4035
+ }
3927
4036
  render() {
3928
4037
  const { meetingInfo,isTranscribing } = this.props
3929
4038
  var pdfChildren
@@ -4162,6 +4271,7 @@ class Video extends Component {
4162
4271
  <label style={{ display: 'none' }} id="feedId1" type="text" />
4163
4272
 
4164
4273
  <div style={{ display: (this.state.videoOneName) ? '' : 'none' }} className={`customerTitle titleSamlle`}>
4274
+ <div onClick={this.muteOpposite.bind(this,'video1')}>
4165
4275
  {
4166
4276
  this.state.voiceVideoOne && <img
4167
4277
  alt=""
@@ -4170,7 +4280,7 @@ class Video extends Component {
4170
4280
  />
4171
4281
  }
4172
4282
  <canvas style={{ display: (this.state.videoOneName && !this.state.voiceVideoOne) ? '' : 'none',width: '25px',height:'25px',marginTop: '4px'}} className="canvasClassOne" id="subscribe_volumeView1" width="40" height="70"></canvas>
4173
-
4283
+ </div>
4174
4284
  <div className='titleName' style={{ color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }}>
4175
4285
  {this.state.videoOneName}
4176
4286
  </div>
@@ -4190,6 +4300,7 @@ class Video extends Component {
4190
4300
  <label style={{ display: 'none' }} id="feedId2" type="text" />
4191
4301
 
4192
4302
  <div style={{ display: (this.state.videoTwoName) ? '' : 'none' }} className={`customerTitle titleSamlle`}>
4303
+ <div onClick={this.muteOpposite.bind(this,'video2')}>
4193
4304
  {
4194
4305
  this.state.voiceVideoTwo && <img
4195
4306
  alt=""
@@ -4198,7 +4309,7 @@ class Video extends Component {
4198
4309
  />
4199
4310
  }
4200
4311
  <canvas style={{ display: (this.state.videoTwoName && !this.state.voiceVideoTwo) ? '' : 'none',width: '25px',height:'25px',marginTop: '4px' }} className="canvasClassOne" id="subscribe_volumeView2" width="40" height="70"></canvas>
4201
-
4312
+ </div>
4202
4313
  <div className='titleName' style={{ color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }}>
4203
4314
  {this.state.videoTwoName}
4204
4315
  </div>
@@ -4216,6 +4327,7 @@ class Video extends Component {
4216
4327
  <label style={{ display: 'none' }} id="feedId3" type="text" />
4217
4328
 
4218
4329
  <div style={{ display: (this.state.videoThreeName) ? '' : 'none', background: this.props.titleBackground, color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }} className={`customerTitle titleSamlle`}>
4330
+ <div onClick={this.muteOpposite.bind(this,'video3')}>
4219
4331
  {
4220
4332
  this.state.voiceVideoThree && <img
4221
4333
  alt=""
@@ -4224,7 +4336,7 @@ class Video extends Component {
4224
4336
  />
4225
4337
  }
4226
4338
  <canvas style={{ display: (this.state.videoThreeName && !this.state.voiceVideoThree) ? '' : 'none',width: '25px',height:'25px',marginTop: '4px' }} className="canvasClassOne" id="subscribe_volumeView3" width="40" height="70"></canvas>
4227
-
4339
+ </div>
4228
4340
  <div className='titleName' style={{ color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }}>
4229
4341
  {this.state.videoThreeName}
4230
4342
  </div>
@@ -4241,6 +4353,7 @@ class Video extends Component {
4241
4353
  <label style={{ display: 'none' }} id="feedId4" type="text" />
4242
4354
 
4243
4355
  <div style={{ display: (this.state.videoFourName) ? '' : 'none', background: this.props.titleBackground, color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }} className={`customerTitle titleSamlle`}>
4356
+ <div onClick={this.muteOpposite.bind(this,'video4')}>
4244
4357
  {
4245
4358
  this.state.voiceVideoFour && <img
4246
4359
  alt=""
@@ -4249,7 +4362,7 @@ class Video extends Component {
4249
4362
  />
4250
4363
  }
4251
4364
  <canvas style={{ display: (this.state.videoFourName && !this.state.voiceVideoFour) ? '' : 'none',width: '25px',height:'25px',marginTop: '4px' }} className="canvasClassOne" id="subscribe_volumeView4" width="40" height="70"></canvas>
4252
-
4365
+ </div>
4253
4366
  <div className='titleName' style={{ color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }}>
4254
4367
  {this.state.videoFourName}
4255
4368
  </div>
@@ -4267,6 +4380,7 @@ class Video extends Component {
4267
4380
  <label style={{ display: 'none' }} id="feedId5" type="text" />
4268
4381
 
4269
4382
  <div style={{ display: (this.state.videoFiveName) ? '' : 'none', background: this.props.titleBackground, color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }} className={`customerTitle titleSamlle`}>
4383
+ <div onClick={this.muteOpposite.bind(this,'video5')}>
4270
4384
  {
4271
4385
  this.state.voiceVideoFive && <img
4272
4386
  alt=""
@@ -4275,7 +4389,7 @@ class Video extends Component {
4275
4389
  />
4276
4390
  }
4277
4391
  <canvas style={{ display: (this.state.videoFiveName && !this.state.voiceVideoFive) ? '' : 'none',width: '25px',height:'25px',marginTop: '4px' }} className="canvasClassOne" id="subscribe_volumeView5" width="40" height="70"></canvas>
4278
-
4392
+ </div>
4279
4393
  <div className='titleName' style={{ color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }}>
4280
4394
  {this.state.videoFiveName}
4281
4395
  </div>
@@ -4292,6 +4406,7 @@ class Video extends Component {
4292
4406
  <label style={{ display: 'none' }} id="feedId6" type="text" />
4293
4407
 
4294
4408
  <div style={{ display: (this.state.videoSixName) ? '' : 'none', background: this.props.titleBackground, color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }} className={`customerTitle titleSamlle`}>
4409
+ <div onClick={this.muteOpposite.bind(this,'video6')}>
4295
4410
  {
4296
4411
  this.state.voiceVideoSix && <img
4297
4412
  alt=""
@@ -4300,7 +4415,7 @@ class Video extends Component {
4300
4415
  />
4301
4416
  }
4302
4417
  <canvas style={{ display: (!this.state.voiceVideoSix) ? '' : 'none',width: '25px',height:'25px',marginTop: '4px' }} className="canvasClassOne" id="subscribe_volumeView6" width="40" height="70"></canvas>
4303
-
4418
+ </div>
4304
4419
  <div className='titleName' style={{ color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }}>
4305
4420
  {this.state.videoSixName}
4306
4421
  </div>
@@ -4329,6 +4444,7 @@ class Video extends Component {
4329
4444
  <label style={{ display: 'none' }} id="feedId7" type="text" />
4330
4445
 
4331
4446
  <div style={{ display: (this.state.videoSevenName) ? '' : 'none' }} className={`customerTitle titleSamlle`}>
4447
+ <div onClick={this.muteOpposite.bind(this,'video7')}>
4332
4448
  {
4333
4449
  this.state.voiceVideoSeven && <img
4334
4450
  alt=""
@@ -4337,7 +4453,7 @@ class Video extends Component {
4337
4453
  />
4338
4454
  }
4339
4455
  <canvas style={{ display: (this.state.videoSevenName && !this.state.voiceVideoSeven) ? '' : 'none',width: '25px',height:'25px',marginTop: '4px' }} className="canvasClassOne" id="subscribe_volumeView7" width="40" height="70"></canvas>
4340
-
4456
+ </div>
4341
4457
  <div className='titleName' style={{ color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }}>
4342
4458
  {this.state.videoSevenName}
4343
4459
  </div>
@@ -4357,6 +4473,7 @@ class Video extends Component {
4357
4473
  <label style={{ display: 'none' }} id="feedId8" type="text" />
4358
4474
 
4359
4475
  <div style={{ display: (this.state.videoEightName) ? '' : 'none' }} className={`customerTitle titleSamlle`}>
4476
+ <div onClick={this.muteOpposite.bind(this,'video8')}>
4360
4477
  {
4361
4478
  this.state.voiceVideoEight && <img
4362
4479
  alt=""
@@ -4365,7 +4482,7 @@ class Video extends Component {
4365
4482
  />
4366
4483
  }
4367
4484
  <canvas style={{ display: (this.state.videoEightName && !this.state.voiceVideoEight) ? '' : 'none',width: '25px',height:'25px',marginTop: '4px' }} className="canvasClassOne" id="subscribe_volumeView8" width="40" height="70"></canvas>
4368
-
4485
+ </div>
4369
4486
  <div className='titleName' style={{ color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }}>
4370
4487
  {this.state.videoEightName}
4371
4488
  </div>
@@ -4382,6 +4499,7 @@ class Video extends Component {
4382
4499
  <label style={{ display: 'none' }} id="feedId9" type="text" />
4383
4500
 
4384
4501
  <div style={{ display: (this.state.videoNineName) ? '' : 'none', background: this.props.titleBackground, color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }} className={`customerTitle titleSamlle`}>
4502
+ <div onClick={this.muteOpposite.bind(this,'video9')}>
4385
4503
  {
4386
4504
  this.state.voiceVideoNine && <img
4387
4505
  alt=""
@@ -4390,7 +4508,7 @@ class Video extends Component {
4390
4508
  />
4391
4509
  }
4392
4510
  <canvas style={{ display: (this.state.videoNineName && !this.state.voiceVideoSix) ? '' : 'none',width: '25px',height:'25px',marginTop: '4px' }} className="canvasClassOne" id="subscribe_volumeView9" width="40" height="70"></canvas>
4393
-
4511
+ </div>
4394
4512
  <div className='titleName' style={{ color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }}>
4395
4513
  {this.state.videoNineName}
4396
4514
  </div>
@@ -4409,6 +4527,7 @@ class Video extends Component {
4409
4527
  <label style={{ display: 'none' }} id="feedId10" type="text" />
4410
4528
 
4411
4529
  <div style={{ display: (this.state.videoTenName) ? '' : 'none', background: this.props.titleBackground, color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }} className={`customerTitle titleSamlle`}>
4530
+ <div onClick={this.muteOpposite.bind(this,'video10')}>
4412
4531
  {
4413
4532
  this.state.voiceVideoTen && <img
4414
4533
  alt=""
@@ -4417,7 +4536,7 @@ class Video extends Component {
4417
4536
  />
4418
4537
  }
4419
4538
  <canvas style={{ display: (this.state.videoTenName && !this.state.voiceVideoTen) ? '' : 'none',width: '25px',height:'25px',marginTop: '4px' }} className="canvasClassOne" id="subscribe_volumeView10" width="40" height="70"></canvas>
4420
-
4539
+ </div>
4421
4540
  <div className='titleName' style={{ color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }}>
4422
4541
  {this.state.videoTenName}
4423
4542
  </div>
@@ -4434,6 +4553,7 @@ class Video extends Component {
4434
4553
  <label style={{ display: 'none' }} id="feedId11" type="text" />
4435
4554
 
4436
4555
  <div style={{ display: (this.state.videoElevenName) ? '' : 'none', background: this.props.titleBackground, color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }} className={`customerTitle titleSamlle`}>
4556
+ <div onClick={this.muteOpposite.bind(this,'video11')}>
4437
4557
  {
4438
4558
  this.state.voiceVideoEleven && <img
4439
4559
  alt=""
@@ -4442,7 +4562,7 @@ class Video extends Component {
4442
4562
  />
4443
4563
  }
4444
4564
  <canvas style={{ display: (this.state.videoElevenName && !this.state.voiceVideoEleven) ? '' : 'none',width: '25px',height:'25px',marginTop: '4px' }} className="canvasClassOne" id="subscribe_volumeView11" width="40" height="70"></canvas>
4445
-
4565
+ </div>
4446
4566
  <div className='titleName' style={{ color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }}>
4447
4567
  {this.state.videoElevenName}
4448
4568
  </div>
@@ -4460,6 +4580,7 @@ class Video extends Component {
4460
4580
  <label style={{ display: 'none' }} id="feedId12" type="text" />
4461
4581
 
4462
4582
  <div style={{ display: (this.state.videoTwelveName) ? '' : 'none', background: this.props.titleBackground, color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }} className={`customerTitle titleSamlle`}>
4583
+ <div onClick={this.muteOpposite.bind(this,'video12')}>
4463
4584
  {
4464
4585
  this.state.voiceVideoTwelve && <img
4465
4586
  alt=""
@@ -4468,7 +4589,7 @@ class Video extends Component {
4468
4589
  />
4469
4590
  }
4470
4591
  <canvas style={{ display: (this.state.videoTwelveName && !this.state.voiceVideoTwelve) ? '' : 'none',width: '25px',height:'25px',marginTop: '4px' }} className="canvasClassOne" id="subscribe_volumeView12" width="40" height="70"></canvas>
4471
-
4592
+ </div>
4472
4593
  <div className='titleName' style={{ color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }}>
4473
4594
  {this.state.videoTwelveName}
4474
4595
  </div>
@@ -4664,5 +4785,6 @@ sessionId: "Fwua8kGB6",
4664
4785
  otherAttendees: undefined
4665
4786
  },
4666
4787
  isTranscribing: false,
4788
+ internalUrl: 'https://wp-staff-gateway.wealth-platform.uat.ali.cloud.cn.hsbc/meeting-ui/OHB/CN/HSBC?chnlID=OHB&locale=zh_CN&chnlCC=CN&chnlGMC=HSBC&targetFunc=supervisorMeeting&sourceFunc=rmMeeting'
4667
4789
  }
4668
4790
  export default Video