Browse Source

more todos

pull/142/head
Jelle van Snik 3 years ago
parent
commit
224de76578
  1. 1
      src/video/components/actions/LoadingAction.tsx
  2. 1
      src/views/media/MediaView.tsx

1
src/video/components/actions/LoadingAction.tsx

@ -3,6 +3,7 @@ import { useVideoPlayerDescriptor } from "@/video/state/hooks"; @@ -3,6 +3,7 @@ import { useVideoPlayerDescriptor } from "@/video/state/hooks";
import { useMediaPlaying } from "@/video/state/logic/mediaplaying";
import { useMisc } from "@/video/state/logic/misc";
// TODO pausing before first frame will infinitely show spinner until unpaused
export function LoadingAction() {
const descriptor = useVideoPlayerDescriptor();
const mediaPlaying = useMediaPlaying(descriptor);

1
src/views/media/MediaView.tsx

@ -251,6 +251,7 @@ export function MediaView() { @@ -251,6 +251,7 @@ export function MediaView() {
stream={stream}
selected={selected}
onChangeStream={(sId, eId) => {
// TODO changing episode breaks useGoBack
history.replace(
`/media/${encodeURIComponent(params.media)}/${encodeURIComponent(
sId

Loading…
Cancel
Save