@latest-thinking/lt-player 1.0.5-f → 1.0.5-g
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
|
@@ -270,6 +270,7 @@ export class ResizeService {
|
|
|
270
270
|
}
|
|
271
271
|
}
|
|
272
272
|
|
|
273
|
+
const version = this.playerInstance.playerConfig.getVersion();
|
|
273
274
|
const observeConfig = this.playerInstance.playerConfig.getObserve();
|
|
274
275
|
|
|
275
276
|
if (observeConfig) {
|
|
@@ -280,6 +281,13 @@ export class ResizeService {
|
|
|
280
281
|
if (observeConfig.hasOwnProperty('height') && observeConfig.height) {
|
|
281
282
|
setHeight();
|
|
282
283
|
}
|
|
284
|
+
} else {
|
|
285
|
+
|
|
286
|
+
setWidth();
|
|
287
|
+
|
|
288
|
+
if (version !== 1) {
|
|
289
|
+
setHeight();
|
|
290
|
+
}
|
|
283
291
|
}
|
|
284
292
|
|
|
285
293
|
setClass();
|