ucservice 1.8.7 → 1.8.8

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.
@@ -13205,14 +13205,16 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
13205
13205
  _self.VIDEO_DATA.forEach((item, index) => {
13206
13206
  let tel = item.video;
13207
13207
 
13208
- if (!tel && item.id) {
13209
- videoLi[index].querySelector('video').style = '';
13210
- if (videoLi[index].querySelector('.rotate-btn')) videoLi[index].querySelector('.rotate-btn').setAttribute('rotate-index', 0);
13211
- } else {
13212
- let rotateIndex = $(videoLi[index]).find('button[name=rotateVideo]').attr('rotate-index');
13213
- setTimeout(() => {
13214
- _self.videoRotateSize(videoLi[index], rotateIndex);
13215
- }, 200);
13208
+ if (videoLi[index]) {
13209
+ if (!tel && item.id) {
13210
+ videoLi[index].querySelector('video').style = '';
13211
+ if (videoLi[index].querySelector('.rotate-btn')) videoLi[index].querySelector('.rotate-btn').setAttribute('rotate-index', 0);
13212
+ } else {
13213
+ let rotateIndex = $(videoLi[index]).find('button[name=rotateVideo]').attr('rotate-index');
13214
+ setTimeout(() => {
13215
+ _self.videoRotateSize(videoLi[index], rotateIndex);
13216
+ }, 200);
13217
+ }
13216
13218
  }
13217
13219
  });
13218
13220
  } else {
@@ -13242,14 +13244,16 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
13242
13244
  _self.VIDEO_DATA.forEach((item, index) => {
13243
13245
  let tel = item.video;
13244
13246
 
13245
- if (!tel && item.id) {
13246
- videoLi[index].querySelector('video').style = '';
13247
- if (videoLi[index].querySelector('.rotate-btn')) videoLi[index].querySelector('.rotate-btn').setAttribute('rotate-index', 0);
13248
- } else {
13249
- let rotateIndex = $(videoLi[index]).find('button[name=rotateVideo]').attr('rotate-index');
13250
- setTimeout(() => {
13251
- _self.videoRotateSize(videoLi[index], rotateIndex);
13252
- }, 200);
13247
+ if (videoLi[index]) {
13248
+ if (!tel && item.id) {
13249
+ videoLi[index].querySelector('video').style = '';
13250
+ if (videoLi[index].querySelector('.rotate-btn')) videoLi[index].querySelector('.rotate-btn').setAttribute('rotate-index', 0);
13251
+ } else {
13252
+ let rotateIndex = $(videoLi[index]).find('button[name=rotateVideo]').attr('rotate-index');
13253
+ setTimeout(() => {
13254
+ _self.videoRotateSize(videoLi[index], rotateIndex);
13255
+ }, 200);
13256
+ }
13253
13257
  }
13254
13258
  });
13255
13259
  } else {
Binary file