ucservice 2.5.4 → 2.5.6
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/dist/ucservice.common.js +3 -3
- package/dist/ucservice.common.js.gz +0 -0
- package/dist/ucservice.common.js.map +1 -1
- package/dist/ucservice.umd.js +3 -3
- package/dist/ucservice.umd.js.gz +0 -0
- package/dist/ucservice.umd.js.map +1 -1
- package/dist/ucservice.umd.min.js +1 -1
- package/dist/ucservice.umd.min.js.gz +0 -0
- package/dist/ucservice.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/ucservice.common.js
CHANGED
|
@@ -14171,6 +14171,9 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
14171
14171
|
|
|
14172
14172
|
videoRotateSize(li, rotateIndex) {
|
|
14173
14173
|
if (!li) return;
|
|
14174
|
+
let video = li.querySelector('video');
|
|
14175
|
+
let liWidth = li.offsetWidth;
|
|
14176
|
+
let liHeight = li.offsetHeight;
|
|
14174
14177
|
let isScale = video.classList.contains('scale-scene');
|
|
14175
14178
|
|
|
14176
14179
|
if (isScale) {
|
|
@@ -14183,13 +14186,10 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
14183
14186
|
}
|
|
14184
14187
|
}
|
|
14185
14188
|
|
|
14186
|
-
let video = li.querySelector('video');
|
|
14187
14189
|
let videoWidth = video.videoWidth;
|
|
14188
14190
|
let videoHeight = video.videoHeight;
|
|
14189
14191
|
let vWidth = video.offsetWidth;
|
|
14190
14192
|
let vHeight = video.offsetHeight;
|
|
14191
|
-
let liWidth = li.offsetWidth;
|
|
14192
|
-
let liHeight = li.offsetHeight;
|
|
14193
14193
|
|
|
14194
14194
|
if (rotateIndex == 0) {
|
|
14195
14195
|
//0
|
|
Binary file
|