@soffits/dsh-media-hub 0.10.1 → 0.10.2
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/CHANGELOG.md +4 -0
- package/package.json +1 -1
- package/web/player.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.10.2
|
|
4
|
+
|
|
5
|
+
- hls.js now loads. The page asked for it at the wrong address, so a browser that needed it (any Chromium one, since 0.10.1) never got past loading. Episodes that are still being made play there again.
|
|
6
|
+
|
|
3
7
|
## 0.10.1
|
|
4
8
|
|
|
5
9
|
- Replaying an episode that has to be transcoded now plays in Chrome, Brave and Edge. Their own HLS player can't take an episode that's still being made and stopped with "could not parse"; the page now uses hls.js there. Safari and iPhone keep their own player.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soffits/dsh-media-hub",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.2",
|
|
4
4
|
"description": "A media hub for DeepSeek Harness: search shows, novels, ebooks and papers across sources, watch together in sync, and download books in the format you want onto your own shelf.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
package/web/player.js
CHANGED
|
@@ -138,7 +138,7 @@ function createVideoPlayer(stage, events, { base, language, trackLabel }) {
|
|
|
138
138
|
|
|
139
139
|
/** A playlist that may still grow (an episode being fetched) starts where the room is, not at its newest segment. */
|
|
140
140
|
async function attachHls(url, startAt) {
|
|
141
|
-
const { default: Hls } = await import(new URL('hls.mjs',
|
|
141
|
+
const { default: Hls } = await import(new URL('./hls.mjs', import.meta.url).href)
|
|
142
142
|
if (!Hls.isSupported()) throw new Error('This browser cannot play HLS.')
|
|
143
143
|
hls = new Hls({ startPosition: startAt })
|
|
144
144
|
hls.loadSource(url)
|