@latest-thinking/lt-player 2.0.0-d → 2.0.0-e
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/main.js +14 -26
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -13903,23 +13903,19 @@ const j4 = `{{> LTPlayerSpriteComponent }}
|
|
|
13903
13903
|
<media-icon type="chapters"></media-icon>
|
|
13904
13904
|
</media-menu-button>
|
|
13905
13905
|
|
|
13906
|
-
<media-menu-
|
|
13907
|
-
|
|
13908
|
-
|
|
13909
|
-
|
|
13910
|
-
|
|
13911
|
-
|
|
13912
|
-
<
|
|
13913
|
-
|
|
13914
|
-
|
|
13915
|
-
|
|
13916
|
-
|
|
13917
|
-
|
|
13918
|
-
|
|
13919
|
-
</media-chapters-radio-group>
|
|
13920
|
-
</media-menu-items>
|
|
13921
|
-
|
|
13922
|
-
</media-menu-portal>
|
|
13906
|
+
<media-menu-items class="vds-chapters-menu-items vds-menu-items" placement="top start">
|
|
13907
|
+
<media-chapters-radio-group class="vds-chapters-radio-group vds-radio-group">
|
|
13908
|
+
<template>
|
|
13909
|
+
<media-radio class="vds-chapter-radio vds-radio">
|
|
13910
|
+
<div class="vds-chapter-radio-content">
|
|
13911
|
+
<span class="vds-chapter-radio-label" data-part="label"></span>
|
|
13912
|
+
<span class="vds-chapter-radio-start-time" data-part="start-time"></span>
|
|
13913
|
+
<span class="vds-chapter-radio-duration" data-part="duration"></span>
|
|
13914
|
+
</div>
|
|
13915
|
+
</media-radio>
|
|
13916
|
+
</template>
|
|
13917
|
+
</media-chapters-radio-group>
|
|
13918
|
+
</media-menu-items>
|
|
13923
13919
|
</media-menu>
|
|
13924
13920
|
`, aB = `<lt-speed-button class="media-button speed-button" type="button" role="button" tabindex="0" aria-label="Speed">
|
|
13925
13921
|
<span class="playback-speed-number">1</span>
|
|
@@ -19186,7 +19182,7 @@ class wy {
|
|
|
19186
19182
|
this.player = e;
|
|
19187
19183
|
}
|
|
19188
19184
|
initialize() {
|
|
19189
|
-
|
|
19185
|
+
new ResizeObserver(
|
|
19190
19186
|
(A) => {
|
|
19191
19187
|
this.playerResizeCallback(A[0]);
|
|
19192
19188
|
}
|
|
@@ -19207,14 +19203,6 @@ class wy {
|
|
|
19207
19203
|
const A = this.player.playerConfigService.getPlayerMenuSmallSize(), s = document.querySelector("media-menu-items");
|
|
19208
19204
|
!s || !this.chaptersMediaMenu || (e > A && this.smallSize ? (this.smallSize = !1, this.closeMenu(), s.style.display = "none", s.setAttribute("placement", "top start")) : e <= A && !this.smallSize && (this.smallSize = !0, this.closeMenu()));
|
|
19209
19205
|
}
|
|
19210
|
-
getOrCreateVideoLayoutDiv() {
|
|
19211
|
-
const e = document.querySelector("div.vds-video-layout");
|
|
19212
|
-
if (e == null) {
|
|
19213
|
-
let A = document.createElement("div");
|
|
19214
|
-
return A.className = "vds-video-layout", document.body.appendChild(A), A;
|
|
19215
|
-
}
|
|
19216
|
-
return e;
|
|
19217
|
-
}
|
|
19218
19206
|
closeMenu() {
|
|
19219
19207
|
this.chaptersMediaMenu.close();
|
|
19220
19208
|
}
|