react_hsbc_teller 0.4.1 → 0.4.2

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": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "React",
5
5
  "private": false,
6
6
  "main": "lib/hsbc.js",
@@ -1147,32 +1147,38 @@ class Video extends Component {
1147
1147
  })
1148
1148
  if(!document.getElementById("video1").name) {
1149
1149
  this.setState({
1150
- videoOneName: ''
1150
+ videoOneName: '',
1151
+ voiceVideoOne: false
1151
1152
  })
1152
1153
  }
1153
1154
  if(!document.getElementById("video2").name) {
1154
1155
  this.setState({
1155
- videoTwoName: ''
1156
+ videoTwoName: '',
1157
+ voiceVideoTwo: false
1156
1158
  })
1157
1159
  }
1158
1160
  if(!document.getElementById("video3").name) {
1159
1161
  this.setState({
1160
- videoThreeName: ''
1162
+ videoThreeName: '',
1163
+ voiceVideoThree: false
1161
1164
  })
1162
1165
  }
1163
1166
  if(!document.getElementById("video4").name) {
1164
1167
  this.setState({
1165
- videoFourName: ''
1168
+ videoFourName: '',
1169
+ voiceVideoFour: false,
1166
1170
  })
1167
1171
  }
1168
1172
  if(!document.getElementById("video5").name) {
1169
1173
  this.setState({
1170
- videoFiveName: ''
1174
+ videoFiveName: '',
1175
+ voiceVideoFive: false
1171
1176
  })
1172
1177
  }
1173
1178
  if(!document.getElementById("video6").name) {
1174
1179
  this.setState({
1175
- videoSixName: ''
1180
+ videoSixName: '',
1181
+ voiceVideoSix: false
1176
1182
  })
1177
1183
  }
1178
1184
  };
@@ -2344,7 +2350,7 @@ class Video extends Component {
2344
2350
 
2345
2351
 
2346
2352
  </div>
2347
- <canvas style={{ display: (!this.state.voiceVideoOne) ? '' : 'none', }} className="canvasClassOne" id="subscribe_volumeView1" width="40" height="70"></canvas>
2353
+ <canvas style={{ display: (this.state.videoOneName&&!this.state.voiceVideoOne) ? '' : 'none', }} className="canvasClassOne" id="subscribe_volumeView1" width="40" height="70"></canvas>
2348
2354
  </div>
2349
2355
  </div>
2350
2356
  <div className={`itemed`}>
@@ -2368,7 +2374,7 @@ class Video extends Component {
2368
2374
  {this.state.videoTwoName}
2369
2375
  </div>
2370
2376
  </div>
2371
- <canvas style={{ display: (!this.state.voiceVideoTwo) ? '' : 'none', }} className="canvasClassOne" id="subscribe_volumeView2" width="40" height="70"></canvas>
2377
+ <canvas style={{ display: (this.state.videoTwoName&&!this.state.voiceVideoTwo) ? '' : 'none', }} className="canvasClassOne" id="subscribe_volumeView2" width="40" height="70"></canvas>
2372
2378
  </div>
2373
2379
  <div className={`itemed`}
2374
2380
  style={{'margin-top': '5px' }}>
@@ -2392,7 +2398,7 @@ class Video extends Component {
2392
2398
  {this.state.videoThreeName}
2393
2399
  </div>
2394
2400
  </div>
2395
- <canvas style={{ display: (!this.state.voiceVideoThree) ? '' : 'none', }} className="canvasClassOne" id="subscribe_volumeView3" width="40" height="70"></canvas>
2401
+ <canvas style={{ display: (this.state.videoTwoName&&!this.state.voiceVideoThree) ? '' : 'none', }} className="canvasClassOne" id="subscribe_volumeView3" width="40" height="70"></canvas>
2396
2402
  </div>
2397
2403
  <div className={`itemed`}>
2398
2404
  <video
@@ -2415,7 +2421,7 @@ class Video extends Component {
2415
2421
  {this.state.videoFourName}
2416
2422
  </div>
2417
2423
  </div>
2418
- <canvas style={{ display: (!this.state.voiceVideoFour) ? '' : 'none', }} className="canvasClassOne" id="subscribe_volumeView4" width="40" height="70"></canvas>
2424
+ <canvas style={{ display: (this.state.videoFourName&&!this.state.voiceVideoFour) ? '' : 'none', }} className="canvasClassOne" id="subscribe_volumeView4" width="40" height="70"></canvas>
2419
2425
  </div>
2420
2426
  <div className={`itemed`}
2421
2427
  style={{'margin-top': '5px' }}>
@@ -2439,7 +2445,7 @@ class Video extends Component {
2439
2445
  {this.state.videoFiveName}
2440
2446
  </div>
2441
2447
  </div>
2442
- <canvas style={{ display: (!this.state.voiceVideoFive) ? '' : 'none', }} className="canvasClassOne" id="subscribe_volumeView5" width="40" height="70"></canvas>
2448
+ <canvas style={{ display: (this.state.videoFiveName&&!this.state.voiceVideoFive) ? '' : 'none', }} className="canvasClassOne" id="subscribe_volumeView5" width="40" height="70"></canvas>
2443
2449
  </div>
2444
2450
  <div className={`itemed`}>
2445
2451
  <video