ucservice 2.5.5 → 2.5.7

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.
@@ -13583,13 +13583,12 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
13583
13583
  for (let k = 0; k < _li.length; k++) {
13584
13584
  let rotateIndex = _li.eq(k).find('button[name=rotateVideo]').attr('rotate-index');
13585
13585
 
13586
- let scaleBtn = _li.eq(k).find('button[name=scaleVideo]').hasClass('bggray');
13586
+ let scaleBtn = _li.eq(k).find('button[name=scaleVideo]').hasClass('bggray'); // if(scaleBtn){
13587
13587
 
13588
- if (scaleBtn) {
13589
- setTimeout(() => {
13590
- me.videoRotateSize(_li.eq(k)[0], rotateIndex);
13591
- }, 200);
13592
- }
13588
+
13589
+ setTimeout(() => {
13590
+ me.videoRotateSize(_li.eq(k)[0], rotateIndex);
13591
+ }, 200); // }
13593
13592
  }
13594
13593
  },
13595
13594
 
@@ -14172,6 +14171,8 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
14172
14171
  videoRotateSize(li, rotateIndex) {
14173
14172
  if (!li) return;
14174
14173
  let video = li.querySelector('video');
14174
+ let liWidth = li.offsetWidth;
14175
+ let liHeight = li.offsetHeight;
14175
14176
  let isScale = video.classList.contains('scale-scene');
14176
14177
 
14177
14178
  if (isScale) {
@@ -14184,12 +14185,11 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
14184
14185
  }
14185
14186
  }
14186
14187
 
14188
+ debugger;
14187
14189
  let videoWidth = video.videoWidth;
14188
14190
  let videoHeight = video.videoHeight;
14189
14191
  let vWidth = video.offsetWidth;
14190
14192
  let vHeight = video.offsetHeight;
14191
- let liWidth = li.offsetWidth;
14192
- let liHeight = li.offsetHeight;
14193
14193
 
14194
14194
  if (rotateIndex == 0) {
14195
14195
  //0
Binary file