diff --git a/src/views/MediaView.tsx b/src/views/MediaView.tsx index b82332e1..77d54d2c 100644 --- a/src/views/MediaView.tsx +++ b/src/views/MediaView.tsx @@ -6,7 +6,6 @@ import { Icons } from "@/components/Icon"; import { Navigation } from "@/components/layout/Navigation"; import { Paper } from "@/components/layout/Paper"; import { LoadingSeasons, Seasons } from "@/components/layout/Seasons"; -import { SkeletonVideoPlayer } from "@/components/media/VideoPlayer"; import { DecoratedVideoPlayer } from "@/components/video/DecoratedVideoPlayer"; import { ArrowLink } from "@/components/text/ArrowLink"; import { DotList } from "@/components/text/DotList"; @@ -30,6 +29,7 @@ import { import { getWatchedFromPortable, useWatchedContext } from "@/state/watched"; import { SourceControl } from "@/components/video/controls/SourceControl"; import { ProgressListenerControl } from "@/components/video/controls/ProgressListenerControl"; +import { Loading } from "@/components/layout/Loading"; import { NotFoundChecks } from "./notfound/NotFoundChecks"; interface StyledMediaViewProps { @@ -37,6 +37,24 @@ interface StyledMediaViewProps { stream: MWMediaStream; } +export function SkeletonVideoPlayer(props: { error?: boolean }) { + return ( +
Couldn't get your stream
+Getting your stream...
+