web: watch-party layer for the Discord Activity
party.js is inert unless a transport attaches. The host publishes route changes and playback snapshots; viewers mirror the route, load the host's stream without scraping and follow its clock. Also: forceProxy playback, bug-tv-tmdb/bug-tv-img meta overrides, relative API bases (/tv), trailer hidden in party mode, and the web package no longer ships web/test.
This commit is contained in:
1 parent
5ab3683f44
commit
ee0e36d2c7
14 files changed
+800
-17
No files matched your search
@@ -120,7 +120,7 @@ export async function render(root, params) {
|
||||
const actions = h('div.hero__actions',
|
||||
playBtn,
|
||||
myListButton(item, { className: 'btn btn--glass btn--lg' }),
|
||||
trailer ? h('button.btn.btn--glass.btn--lg', { type: 'button', onclick: () => trailerModal(trailer.key, item.title) }, icon('trailer'), h('span', 'Trailer')) : null,
|
||||
trailer ? h('button.btn.btn--glass.btn--lg.js-trailer', { type: 'button', onclick: () => trailerModal(trailer.key, item.title) }, icon('trailer'), h('span', 'Trailer')) : null,
|
||||
h('button.btn.btn--glass.btn--lg.btn--icon', { type: 'button', 'aria-label': 'Share', title: 'Share', onclick: () => shareTitle(item.title, titlePath(type, id)) }, icon('share')),
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user