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.
@@ -13214,14 +13214,16 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
13214
13214
  _self.VIDEO_DATA.forEach((item, index) => {
13215
13215
  let tel = item.video;
13216
13216
 
13217
- if (!tel && item.id) {
13218
- videoLi[index].querySelector('video').style = '';
13219
- if (videoLi[index].querySelector('.rotate-btn')) videoLi[index].querySelector('.rotate-btn').setAttribute('rotate-index', 0);
13220
- } else {
13221
- let rotateIndex = $(videoLi[index]).find('button[name=rotateVideo]').attr('rotate-index');
13222
- setTimeout(() => {
13223
- _self.videoRotateSize(videoLi[index], rotateIndex);
13224
- }, 200);
13217
+ if (videoLi[index]) {
13218
+ if (!tel && item.id) {
13219
+ videoLi[index].querySelector('video').style = '';
13220
+ if (videoLi[index].querySelector('.rotate-btn')) videoLi[index].querySelector('.rotate-btn').setAttribute('rotate-index', 0);
13221
+ } else {
13222
+ let rotateIndex = $(videoLi[index]).find('button[name=rotateVideo]').attr('rotate-index');
13223
+ setTimeout(() => {
13224
+ _self.videoRotateSize(videoLi[index], rotateIndex);
13225
+ }, 200);
13226
+ }
13225
13227
  }
13226
13228
  });
13227
13229
  } else {
@@ -13251,14 +13253,16 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
13251
13253
  _self.VIDEO_DATA.forEach((item, index) => {
13252
13254
  let tel = item.video;
13253
13255
 
13254
- if (!tel && item.id) {
13255
- videoLi[index].querySelector('video').style = '';
13256
- if (videoLi[index].querySelector('.rotate-btn')) videoLi[index].querySelector('.rotate-btn').setAttribute('rotate-index', 0);
13257
- } else {
13258
- let rotateIndex = $(videoLi[index]).find('button[name=rotateVideo]').attr('rotate-index');
13259
- setTimeout(() => {
13260
- _self.videoRotateSize(videoLi[index], rotateIndex);
13261
- }, 200);
13256
+ if (videoLi[index]) {
13257
+ if (!tel && item.id) {
13258
+ videoLi[index].querySelector('video').style = '';
13259
+ if (videoLi[index].querySelector('.rotate-btn')) videoLi[index].querySelector('.rotate-btn').setAttribute('rotate-index', 0);
13260
+ } else {
13261
+ let rotateIndex = $(videoLi[index]).find('button[name=rotateVideo]').attr('rotate-index');
13262
+ setTimeout(() => {
13263
+ _self.videoRotateSize(videoLi[index], rotateIndex);
13264
+ }, 200);
13265
+ }
13262
13266
  }
13263
13267
  });
13264
13268
  } else {
Binary file