@soffits/dsh-media-hub 0.15.0 → 0.15.1
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 +5 -0
- package/package.json +1 -1
- package/web/panel.css +3 -0
- package/web/player.js +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.15.1
|
|
4
|
+
|
|
5
|
+
- On a phone the player's settings open under the player bar and scroll when they are taller than the screen; above it they ran under the page's header.
|
|
6
|
+
- The <video>'s own full-screen button is gone where the browser allows it (Chrome, Edge, Android): the bar's button is the one that keeps the danmaku on the picture.
|
|
7
|
+
|
|
3
8
|
## 0.15.0
|
|
4
9
|
|
|
5
10
|
- Spending points moved to the points plugin, [@soffits/dsh-points](https://github.com/soffits/dsh-points): when an extra costs points, its dialog shows the price, your points and what's left, and buys it there. The hub's own offer bar is gone. Setup changes: install @soffits/dsh-points and move the ledger command from this plugin's `points.command` to its `command`; `points.night` is now `bingeNight`; `docs/points-protocol.md` is replaced by the points plugin's ledger protocol. The fetch and room routes no longer take `buy`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soffits/dsh-media-hub",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.1",
|
|
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/panel.css
CHANGED
|
@@ -369,6 +369,9 @@
|
|
|
369
369
|
.vsync-danmakuToggle[aria-checked=true]{color:var(--dsw-alias-state-business-primary);box-shadow:inset 0 0 0 var(--dsh-hairline-width,.5px) var(--dsw-alias-state-business-primary)}
|
|
370
370
|
.vsync-danmakuToggle[aria-checked=false]{color:var(--dsw-alias-label-tertiary)}
|
|
371
371
|
.vsync-popover{position:absolute;right:0;bottom:calc(100% + 6px);z-index:30;box-sizing:border-box;width:min(320px,calc(100vw - 24px));display:flex;flex-direction:column;gap:14px;padding:14px;border:.5px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-lg);background:var(--dsw-alias-bg-layer-1,var(--dsw-alias-bg-base));color:var(--dsw-alias-label-primary);box-shadow:var(--dsw-shadow-lv3)}
|
|
372
|
+
.vsync-playerBar .vsync-popover{max-height:min(480px,calc(100dvh - 160px));overflow-y:auto}
|
|
373
|
+
@media (width<=900px){.vsync-playerBar .vsync-popover{top:calc(100% + 6px);bottom:auto}}
|
|
374
|
+
.vsync-player:fullscreen .vsync-playerBar .vsync-popover,.vsync-player[data-covering=true] .vsync-playerBar .vsync-popover{top:auto;bottom:calc(100% + 6px)}
|
|
372
375
|
.vsync-setting{display:flex;flex-direction:column;gap:6px}
|
|
373
376
|
.vsync-settingLabel{color:var(--dsw-alias-label-secondary);font-size:12px;line-height:18px}
|
|
374
377
|
.vsync-settingChoices{display:flex;flex-wrap:wrap;gap:6px}
|
package/web/player.js
CHANGED
|
@@ -74,6 +74,8 @@ function createVideoPlayer(stage, events, { base, language, trackLabel }) {
|
|
|
74
74
|
el.className = 'vsync-media'
|
|
75
75
|
el.playsInline = true
|
|
76
76
|
el.preload = 'auto'
|
|
77
|
+
// Full screen is the player's box, with the danmaku over the picture (room-view.js); a bare <video> there hides them.
|
|
78
|
+
el.controlsList?.add('nofullscreen')
|
|
77
79
|
const front = () => el === video
|
|
78
80
|
const reports = () => front() && !priming
|
|
79
81
|
el.addEventListener('loadstart', () => progressAt.set(el, now()))
|