ucservice 1.4.7 → 1.5.0

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.
@@ -12464,7 +12464,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
12464
12464
  windowNums: num
12465
12465
  });
12466
12466
  me._opts.windows = num;
12467
- me._opts.extra = extra; //设置旋转了的视频样式
12467
+ me._opts.extra = extra;
12468
12468
  },
12469
12469
 
12470
12470
  /**
@@ -13468,12 +13468,26 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
13468
13468
  this.dispatch('screenchange', {
13469
13469
  windowNums: num,
13470
13470
  flag: me._opts.flag
13471
+ }); //设置旋转了的视频样式
13472
+
13473
+ let videoLi = document.getElementById('videoRef').querySelectorAll('li');
13474
+ me.VIDEO_DATA.forEach((item, index) => {
13475
+ let tel = item.video;
13476
+
13477
+ if (!tel && item.id) {
13478
+ videoLi[index].querySelector('video').style = '';
13479
+ videoLi[index].querySelector('.rotate-btn').setAttribute('rotate-index', 0);
13480
+ }
13471
13481
  }); //设置旋转视频的样式
13472
13482
 
13473
13483
  for (let k = 0; k < _li.length; k++) {
13474
13484
  let rotateIndex = _li.eq(k).find('button[name=rotateVideo]').attr('rotate-index');
13475
13485
 
13476
- if (rotateIndex != 0 && rotateIndex != 2) me.videoRotateSize(_li.eq(k)[0], rotateIndex);
13486
+ if (rotateIndex != 0 && rotateIndex != 2) {
13487
+ setTimeout(() => {
13488
+ me.videoRotateSize(_li.eq(k)[0], rotateIndex);
13489
+ }, 200);
13490
+ }
13477
13491
  }
13478
13492
  },
13479
13493
 
Binary file