import { MWMediaMeta } from "@/backend/metadata/types"; import { ErrorMessage } from "@/components/layout/ErrorBoundary"; import { Link } from "@/components/text/Link"; import { useGoBack } from "@/hooks/useGoBack"; import { conf } from "@/setup/config"; import { VideoPlayerHeader } from "@/video/components/parts/VideoPlayerHeader"; import { Helmet } from "react-helmet"; export function MediaFetchErrorView() { const goBack = useGoBack(); return (
Failed to load meta

We failed to request the media you asked for, check your internet connection and try again.

); } export function MediaPlaybackErrorView(props: { media?: MWMediaMeta }) { const goBack = useGoBack(); return (

We encountered an error while playing the video you requested. If this keeps happening please report the issue to the Discord server {" "} or on{" "} GitHub .

); }