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.
@@ -14189,6 +14189,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
14189
14189
  video.style.position = 'absolute';
14190
14190
  $(video).css('left', '50%');
14191
14191
  $(video).css('top', '50%');
14192
+ if (videoWidth / videoHeight < liWidth / liHeight) $(video).css('height', '100%');else $(video).css('width', '100%');
14192
14193
  video.style.transform = 'translate(-50%, -50%)';
14193
14194
  } else if (rotateIndex == 3) {
14194
14195
  //3
@@ -14221,6 +14222,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
14221
14222
  video.style.position = 'absolute';
14222
14223
  $(video).css('left', '50%');
14223
14224
  $(video).css('top', '50%');
14225
+ if (videoWidth / videoHeight < liWidth / liHeight) $(video).css('height', '100%');else $(video).css('width', '100%');
14224
14226
  video.style.transform = 'translate(-50%, -50%) rotate(180deg)';
14225
14227
  } else if (rotateIndex == 1) {
14226
14228
  //1
@@ -15612,7 +15614,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
15612
15614
  }
15613
15615
 
15614
15616
  self.tagBox.parent().find('button[name=screenVideo]')[0].classList.add('fullscreen-btn');
15615
- self.tagBox.parent().find('button[name=screenVideo]')[0].attr('title', '全屏');
15617
+ self.tagBox.parent().find('button[name=screenVideo]').attr('title', '全屏');
15616
15618
  self.tagBox.parent().find('.recv-audio-btn').attr("class", "unrecv-audio-btn");
15617
15619
  self.tagBox.parent().find('.send-audio-btn').attr("class", "unsend-audio-btn");
15618
15620
  let width = this.videoWidth;
Binary file