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