saltfish 0.2.64 → 0.2.65
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/core/services/StateMachineActionHandler.d.ts +1 -1
- package/dist/player.js +2 -2
- package/dist/player.min.js +2 -2
- package/dist/saltfish-playlist-player.es.js +4 -4
- package/dist/saltfish-playlist-player.umd.js +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2809,7 +2809,7 @@ class StateMachineActionHandler {
|
|
|
2809
2809
|
});
|
|
2810
2810
|
}
|
|
2811
2811
|
/**
|
|
2812
|
-
* Gets the appropriate video URL for a step, preferring
|
|
2812
|
+
* Gets the appropriate video URL for a step, preferring compressedUrl if available
|
|
2813
2813
|
* Also checks for translations if a language is configured
|
|
2814
2814
|
* Falls back to audioUrl if video URL is empty/missing
|
|
2815
2815
|
*/
|
|
@@ -2822,7 +2822,7 @@ class StateMachineActionHandler {
|
|
|
2822
2822
|
const translation = step.translations[language];
|
|
2823
2823
|
videoUrl = translation.videoUrl;
|
|
2824
2824
|
} else {
|
|
2825
|
-
videoUrl = step.
|
|
2825
|
+
videoUrl = step.compressedUrl || step.videoUrl;
|
|
2826
2826
|
}
|
|
2827
2827
|
if (!videoUrl || videoUrl.trim() === "") {
|
|
2828
2828
|
if (step.audioUrl && step.audioUrl.trim() !== "") {
|
|
@@ -2843,7 +2843,7 @@ class StateMachineActionHandler {
|
|
|
2843
2843
|
if (language && step.translations && step.translations[language]) {
|
|
2844
2844
|
videoUrl = step.translations[language].videoUrl;
|
|
2845
2845
|
} else {
|
|
2846
|
-
videoUrl = step.
|
|
2846
|
+
videoUrl = step.compressedUrl || step.videoUrl;
|
|
2847
2847
|
}
|
|
2848
2848
|
return (!videoUrl || videoUrl.trim() === "") && !!(step.audioUrl && step.audioUrl.trim() !== "");
|
|
2849
2849
|
}
|
|
@@ -10614,7 +10614,7 @@ const SaltfishPlayer$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.de
|
|
|
10614
10614
|
__proto__: null,
|
|
10615
10615
|
SaltfishPlayer
|
|
10616
10616
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
10617
|
-
const version = "0.2.
|
|
10617
|
+
const version = "0.2.65";
|
|
10618
10618
|
const packageJson = {
|
|
10619
10619
|
version
|
|
10620
10620
|
};
|