|
|
@ -5,8 +5,6 @@ import { OverlayAnchor } from "@/components/overlays/OverlayAnchor"; |
|
|
|
import { Overlay } from "@/components/overlays/OverlayDisplay"; |
|
|
|
import { Overlay } from "@/components/overlays/OverlayDisplay"; |
|
|
|
import { OverlayPage } from "@/components/overlays/OverlayPage"; |
|
|
|
import { OverlayPage } from "@/components/overlays/OverlayPage"; |
|
|
|
import { OverlayRouter } from "@/components/overlays/OverlayRouter"; |
|
|
|
import { OverlayRouter } from "@/components/overlays/OverlayRouter"; |
|
|
|
import { DownloadView } from "@/components/player/atoms/settings/DownloadView"; |
|
|
|
|
|
|
|
import { SettingsMenu } from "@/components/player/atoms/settings/SettingsMenu"; |
|
|
|
|
|
|
|
import { |
|
|
|
import { |
|
|
|
EmbedSelectionView, |
|
|
|
EmbedSelectionView, |
|
|
|
SourceSelectionView, |
|
|
|
SourceSelectionView, |
|
|
@ -18,8 +16,10 @@ import { usePlayerStore } from "@/stores/player/store"; |
|
|
|
|
|
|
|
|
|
|
|
import { CaptionSettingsView } from "./settings/CaptionSettingsView"; |
|
|
|
import { CaptionSettingsView } from "./settings/CaptionSettingsView"; |
|
|
|
import { CaptionsView } from "./settings/CaptionsView"; |
|
|
|
import { CaptionsView } from "./settings/CaptionsView"; |
|
|
|
|
|
|
|
import { DownloadRoutes } from "./settings/Downloads"; |
|
|
|
import { PlaybackSettingsView } from "./settings/PlaybackSettingsView"; |
|
|
|
import { PlaybackSettingsView } from "./settings/PlaybackSettingsView"; |
|
|
|
import { QualityView } from "./settings/QualityView"; |
|
|
|
import { QualityView } from "./settings/QualityView"; |
|
|
|
|
|
|
|
import { SettingsMenu } from "./settings/SettingsMenu"; |
|
|
|
|
|
|
|
|
|
|
|
function SettingsOverlay({ id }: { id: string }) { |
|
|
|
function SettingsOverlay({ id }: { id: string }) { |
|
|
|
const [chosenSourceId, setChosenSourceId] = useState<string | null>(null); |
|
|
|
const [chosenSourceId, setChosenSourceId] = useState<string | null>(null); |
|
|
@ -71,11 +71,7 @@ function SettingsOverlay({ id }: { id: string }) { |
|
|
|
<PlaybackSettingsView id={id} /> |
|
|
|
<PlaybackSettingsView id={id} /> |
|
|
|
</Menu.Card> |
|
|
|
</Menu.Card> |
|
|
|
</OverlayPage> |
|
|
|
</OverlayPage> |
|
|
|
<OverlayPage id={id} path="/download" width={343} height={530}> |
|
|
|
<DownloadRoutes id={id} /> |
|
|
|
<Menu.Card> |
|
|
|
|
|
|
|
<DownloadView id={id} /> |
|
|
|
|
|
|
|
</Menu.Card> |
|
|
|
|
|
|
|
</OverlayPage> |
|
|
|
|
|
|
|
</OverlayRouter> |
|
|
|
</OverlayRouter> |
|
|
|
</Overlay> |
|
|
|
</Overlay> |
|
|
|
); |
|
|
|
); |
|
|
|