@lazycatcloud/lzc-video-player 0.0.95 → 0.0.96
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.
|
@@ -62887,7 +62887,7 @@ typeof ActiveXObject == "function" && (typeof global < "u" && global.ActiveXObje
|
|
|
62887
62887
|
typeof fetchApi != "function" && (fetchApi = void 0);
|
|
62888
62888
|
if (!fetchApi && !XmlHttpRequestApi && !ActiveXObjectApi)
|
|
62889
62889
|
try {
|
|
62890
|
-
import("./browser-ponyfill.
|
|
62890
|
+
import("./browser-ponyfill.20ab390d.js").then((A) => A.b).then(function(A) {
|
|
62891
62891
|
fetchApi = A.default;
|
|
62892
62892
|
}).catch(function() {
|
|
62893
62893
|
});
|
|
@@ -72024,7 +72024,7 @@ function useSubtitleRenderEngine(A) {
|
|
|
72024
72024
|
}
|
|
72025
72025
|
};
|
|
72026
72026
|
}
|
|
72027
|
-
const DEFAULT_VTT_BOTTOM_OFFSET_PERCENT = 0,
|
|
72027
|
+
const DEFAULT_VTT_BOTTOM_OFFSET_PERCENT = 0, DEFAULT_VTT_TIME_OFFSET_SEC = 0, IOS_PORTRAIT_FAKE_FULLSCREEN_BOTTOM_OFFSET_PX = -80, CONTROLS_HIDDEN_BOTTOM_OFFSET_PX = -80, _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
72028
72028
|
__name: "SubtitleLayer",
|
|
72029
72029
|
props: {
|
|
72030
72030
|
player: {},
|
|
@@ -72125,7 +72125,10 @@ const DEFAULT_VTT_BOTTOM_OFFSET_PERCENT = 0, DEFAULT_VTT_BACKGROUND_OPACITY = 0.
|
|
|
72125
72125
|
}
|
|
72126
72126
|
const BA = s(g.value);
|
|
72127
72127
|
if (!BA) {
|
|
72128
|
-
console.info(
|
|
72128
|
+
console.info(
|
|
72129
|
+
"Current subtitle has no vtt_url and is skipped",
|
|
72130
|
+
g.value
|
|
72131
|
+
), Q.value = [];
|
|
72129
72132
|
return;
|
|
72130
72133
|
}
|
|
72131
72134
|
const DA = await fetchSubtitleCues(BA);
|
|
@@ -72141,8 +72144,7 @@ const DEFAULT_VTT_BOTTOM_OFFSET_PERCENT = 0, DEFAULT_VTT_BACKGROUND_OPACITY = 0.
|
|
|
72141
72144
|
})), c = computed(() => {
|
|
72142
72145
|
const gA = j(D.value), BA = k(C.value);
|
|
72143
72146
|
return {
|
|
72144
|
-
fontSize: `${Math.round(gA * BA)}px
|
|
72145
|
-
backgroundColor: `rgba(0, 0, 0, ${DEFAULT_VTT_BACKGROUND_OPACITY})`
|
|
72147
|
+
fontSize: `${Math.round(gA * BA)}px`
|
|
72146
72148
|
};
|
|
72147
72149
|
}), d = () => o(), n = () => o(), N = () => o(), m = () => S(), f = () => S(), v = () => S(), O = () => {
|
|
72148
72150
|
S(), typeof window < "u" && typeof window.requestAnimationFrame == "function" && window.requestAnimationFrame(() => {
|
|
@@ -72174,7 +72176,7 @@ const DEFAULT_VTT_BOTTOM_OFFSET_PERCENT = 0, DEFAULT_VTT_BACKGROUND_OPACITY = 0.
|
|
|
72174
72176
|
}, toDisplayString(DA.text), 5))), 128))
|
|
72175
72177
|
], 4)) : createCommentVNode("", !0);
|
|
72176
72178
|
}
|
|
72177
|
-
}),
|
|
72179
|
+
}), SubtitleLayer_vue_vue_type_style_index_0_scoped_ff217b24_lang = "", SubtitleLayer = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-ff217b24"]]), _hoisted_1$3 = { class: "sensitivity" }, _hoisted_2$2 = {
|
|
72178
72180
|
key: 0,
|
|
72179
72181
|
class: "top-tip-container"
|
|
72180
72182
|
}, _hoisted_3$2 = { class: "top-tip" }, _hoisted_4$2 = { class: "toast-text" }, _hoisted_5$1 = {
|