ucservice 2.1.7 → 2.1.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.
@@ -14180,6 +14180,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
14180
14180
  video.style.position = 'absolute';
14181
14181
  $(video).css('left', '50%');
14182
14182
  $(video).css('top', '50%');
14183
+ if (videoWidth / videoHeight < liWidth / liHeight) $(video).css('height', '100%');else $(video).css('width', '100%');
14183
14184
  video.style.transform = 'translate(-50%, -50%)';
14184
14185
  } else if (rotateIndex == 3) {
14185
14186
  //3
@@ -14212,6 +14213,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
14212
14213
  video.style.position = 'absolute';
14213
14214
  $(video).css('left', '50%');
14214
14215
  $(video).css('top', '50%');
14216
+ if (videoWidth / videoHeight < liWidth / liHeight) $(video).css('height', '100%');else $(video).css('width', '100%');
14215
14217
  video.style.transform = 'translate(-50%, -50%) rotate(180deg)';
14216
14218
  } else if (rotateIndex == 1) {
14217
14219
  //1
@@ -15603,7 +15605,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
15603
15605
  }
15604
15606
 
15605
15607
  self.tagBox.parent().find('button[name=screenVideo]')[0].classList.add('fullscreen-btn');
15606
- self.tagBox.parent().find('button[name=screenVideo]')[0].attr('title', '全屏');
15608
+ self.tagBox.parent().find('button[name=screenVideo]').attr('title', '全屏');
15607
15609
  self.tagBox.parent().find('.recv-audio-btn').attr("class", "unrecv-audio-btn");
15608
15610
  self.tagBox.parent().find('.send-audio-btn').attr("class", "unsend-audio-btn");
15609
15611
  let width = this.videoWidth;
Binary file