ucservice 1.4.8 → 1.4.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ucservice",
3
3
  "private": false,
4
- "version": "1.4.8",
4
+ "version": "1.4.9",
5
5
  "description": "统一通信服务",
6
6
  "main": "dist/ucservice.common.js",
7
7
  "style": "ucservice.css",
@@ -612,16 +612,6 @@
612
612
  me.dispatch('screenchange',{windowNums: num});
613
613
  me._opts.windows = num;
614
614
  me._opts.extra = extra;
615
-
616
- //设置旋转了的视频样式
617
- let videoLi = document.getElementById('videoRef').querySelectorAll('li')
618
- me.VIDEO_DATA.forEach((item, index) => {
619
- let tel = item.video
620
- if (!tel&&item.id) {
621
- videoLi[index].querySelector('video').style = ''
622
- videoLi[index].querySelector('.rotate-btn').setAttribute('rotate-index', 0)
623
- }
624
- })
625
615
  },
626
616
 
627
617
  /**
@@ -1601,12 +1591,22 @@
1601
1591
  //分屏切换事件
1602
1592
  this.dispatch('screenchange', {windowNums:num, flag:me._opts.flag});
1603
1593
 
1594
+ //设置旋转了的视频样式
1595
+ let videoLi = document.getElementById('videoRef').querySelectorAll('li')
1596
+ me.VIDEO_DATA.forEach((item, index) => {
1597
+ let tel = item.video
1598
+ if (!tel&&item.id) {
1599
+ videoLi[index].querySelector('video').style = ''
1600
+ videoLi[index].querySelector('.rotate-btn').setAttribute('rotate-index', 0)
1601
+ }
1602
+ })
1604
1603
  //设置旋转视频的样式
1605
1604
  for(let k = 0; k < _li.length; k++){
1606
1605
  let rotateIndex = _li.eq(k).find('button[name=rotateVideo]').attr('rotate-index');
1607
1606
  if(rotateIndex != 0 && rotateIndex != 2)
1608
1607
  me.videoRotateSize(_li.eq(k)[0], rotateIndex);
1609
1608
  }
1609
+
1610
1610
  },
1611
1611
 
1612
1612
  /**