mirror of
https://github.com/aleksilassila/reiverr.git
synced 2026-04-18 09:53:16 +02:00
feat: Implement back button and selectable registrars
This commit is contained in:
@@ -73,7 +73,6 @@
|
||||
? item?.UserData?.PlaybackPositionTicks / 10_000_000
|
||||
: undefined
|
||||
};
|
||||
console.log('startTime', playbackInfo.startTime);
|
||||
|
||||
if (mediaSourceId) reportPlaybackStarted(id, sessionId, mediaSourceId);
|
||||
|
||||
|
||||
@@ -82,7 +82,6 @@
|
||||
on:timeupdate={() => (progressTime = !seeking && videoDidLoad ? video.currentTime : progressTime)}
|
||||
on:progress={handleProgress}
|
||||
on:loadeddata={() => {
|
||||
console.log('loadedData');
|
||||
video.currentTime = progressTime;
|
||||
videoDidLoad = true;
|
||||
}}
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
class={classNames('absolute inset-x-12 bottom-8 transition-opacity flex flex-col', {
|
||||
'opacity-0': !showInterface
|
||||
})}
|
||||
bind:container
|
||||
bind:selectable={container}
|
||||
>
|
||||
<Container
|
||||
direction="horizontal"
|
||||
|
||||
@@ -305,7 +305,6 @@
|
||||
});
|
||||
|
||||
onDestroy(() => {
|
||||
console.log('Video destroyed');
|
||||
clearInterval(progressInterval);
|
||||
if (fullscreen) exitFullscreen?.();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user