@grfzhl/vue-hls-player 1.1.16 → 1.1.17
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/README.md +3 -1
- package/dist/VideoPlayer/SubtitleBlock.vue +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -207,10 +207,12 @@ At the moment the following attribute are supported:
|
|
|
207
207
|
```
|
|
208
208
|
|
|
209
209
|
### Last release:
|
|
210
|
+
v1.1.17
|
|
211
|
+
- Keep query params for transcription when getting from .vtt file to .txt
|
|
210
212
|
v1.1.16
|
|
211
213
|
- Add the options prop to both index.vue and VpDefaultVideoPlayer.vue to pass fullscreen label settings to the BasePlayer component.
|
|
212
214
|
- Update fullscreen toggle logic: adjust aria-label, add or remove mediaIsFullscreen attribute, and safely access media-tooltip via shadowRoot to ensure proper icon and tooltip state handling.
|
|
213
|
-
v1.1.13 - v1.
|
|
215
|
+
v1.1.13 - v1.1.15
|
|
214
216
|
- Update the hls.js package
|
|
215
217
|
- Fixes
|
|
216
218
|
|
|
@@ -143,7 +143,7 @@ const videoCursor = ref(0);
|
|
|
143
143
|
const loadCues = async () => {
|
|
144
144
|
if (props.subtitle) {
|
|
145
145
|
const vttPath = props.subtitle.link;
|
|
146
|
-
const txtPath = vttPath.replace(/\.vtt
|
|
146
|
+
const txtPath = vttPath.replace(/\.vtt(?=\?|$)/, '.txt');
|
|
147
147
|
vttCues.value = await parseVTT(vttPath);
|
|
148
148
|
txtCues.value = await parseTXT(txtPath);
|
|
149
149
|
}
|