@latest-thinking/lt-player 2.0.0-d → 2.0.0-f
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 +33 -28
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -13514,6 +13514,15 @@ const j4 = `{{> LTPlayerSpriteComponent }}
|
|
|
13514
13514
|
</dialog>
|
|
13515
13515
|
</lt-metadata-dialog>
|
|
13516
13516
|
|
|
13517
|
+
{{#if share}}
|
|
13518
|
+
<!-- Share Dialog -->
|
|
13519
|
+
<lt-share-dialog showModal="false">
|
|
13520
|
+
<dialog>
|
|
13521
|
+
{{> LTPlayerShareComponent }}
|
|
13522
|
+
</dialog>
|
|
13523
|
+
</lt-share-dialog>
|
|
13524
|
+
{{/if}}
|
|
13525
|
+
|
|
13517
13526
|
<!-- Controls -->
|
|
13518
13527
|
<media-controls class="vds-controls">
|
|
13519
13528
|
<media-controls-group class="vds-controls-group media-controls-group-top" data-layout="expert">
|
|
@@ -13525,9 +13534,17 @@ const j4 = `{{> LTPlayerSpriteComponent }}
|
|
|
13525
13534
|
</media-mute-button>
|
|
13526
13535
|
|
|
13527
13536
|
<div class="media-controls-spacer"></div>
|
|
13528
|
-
|
|
13537
|
+
<div>
|
|
13538
|
+
{{#if share}}
|
|
13539
|
+
<!-- Share Button -->
|
|
13540
|
+
<lt-share-button class="media-button share-button" type="button" role="button" tabindex="0" aria-label="Share">
|
|
13541
|
+
<media-icon type="share" class="share-icon"></media-icon>
|
|
13542
|
+
</lt-share-button>
|
|
13543
|
+
{{/if}}
|
|
13544
|
+
<div class="media-controls-spacer"></div>
|
|
13545
|
+
{{> LTPlayerMetadataControls }}
|
|
13546
|
+
</div>
|
|
13529
13547
|
</media-controls-group>
|
|
13530
|
-
|
|
13531
13548
|
<div class="media-controls-spacer"></div>
|
|
13532
13549
|
|
|
13533
13550
|
<!-- Bottom Metadata Information -->
|
|
@@ -13903,23 +13920,19 @@ const j4 = `{{> LTPlayerSpriteComponent }}
|
|
|
13903
13920
|
<media-icon type="chapters"></media-icon>
|
|
13904
13921
|
</media-menu-button>
|
|
13905
13922
|
|
|
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>
|
|
13923
|
+
<media-menu-items class="vds-chapters-menu-items vds-menu-items" placement="top start">
|
|
13924
|
+
<media-chapters-radio-group class="vds-chapters-radio-group vds-radio-group">
|
|
13925
|
+
<template>
|
|
13926
|
+
<media-radio class="vds-chapter-radio vds-radio">
|
|
13927
|
+
<div class="vds-chapter-radio-content">
|
|
13928
|
+
<span class="vds-chapter-radio-label" data-part="label"></span>
|
|
13929
|
+
<span class="vds-chapter-radio-start-time" data-part="start-time"></span>
|
|
13930
|
+
<span class="vds-chapter-radio-duration" data-part="duration"></span>
|
|
13931
|
+
</div>
|
|
13932
|
+
</media-radio>
|
|
13933
|
+
</template>
|
|
13934
|
+
</media-chapters-radio-group>
|
|
13935
|
+
</media-menu-items>
|
|
13923
13936
|
</media-menu>
|
|
13924
13937
|
`, aB = `<lt-speed-button class="media-button speed-button" type="button" role="button" tabindex="0" aria-label="Speed">
|
|
13925
13938
|
<span class="playback-speed-number">1</span>
|
|
@@ -19186,7 +19199,7 @@ class wy {
|
|
|
19186
19199
|
this.player = e;
|
|
19187
19200
|
}
|
|
19188
19201
|
initialize() {
|
|
19189
|
-
|
|
19202
|
+
new ResizeObserver(
|
|
19190
19203
|
(A) => {
|
|
19191
19204
|
this.playerResizeCallback(A[0]);
|
|
19192
19205
|
}
|
|
@@ -19207,14 +19220,6 @@ class wy {
|
|
|
19207
19220
|
const A = this.player.playerConfigService.getPlayerMenuSmallSize(), s = document.querySelector("media-menu-items");
|
|
19208
19221
|
!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
19222
|
}
|
|
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
19223
|
closeMenu() {
|
|
19219
19224
|
this.chaptersMediaMenu.close();
|
|
19220
19225
|
}
|