@geekapps/silo-elements-nextjs 0.2.50 → 0.2.51
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/VideoPlayer.js +2 -1
- package/dist/VideoPlayer.js.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/styles.css +1 -1
package/dist/VideoPlayer.js
CHANGED
|
@@ -288,6 +288,7 @@ function Video({
|
|
|
288
288
|
t.removeEventListener("cuechange", onCueChange);
|
|
289
289
|
t.addEventListener("cuechange", onCueChange);
|
|
290
290
|
});
|
|
291
|
+
applySubtitleMode(subtitleModeRef.current);
|
|
291
292
|
};
|
|
292
293
|
bindTracks();
|
|
293
294
|
video.textTracks.addEventListener("addtrack", bindTracks);
|
|
@@ -830,7 +831,7 @@ function Video({
|
|
|
830
831
|
label: subtitle.label,
|
|
831
832
|
default: subtitle.default
|
|
832
833
|
},
|
|
833
|
-
`${activeSource.src}-${subtitle.srclang}`
|
|
834
|
+
`${activeSource.src}-${subtitle.srclang}-${subtitle.src}`
|
|
834
835
|
)),
|
|
835
836
|
parsed.storyboard?.src && /* @__PURE__ */ jsx(
|
|
836
837
|
"track",
|