mirror of
https://github.com/p-stream/p-stream.git
synced 2026-01-11 20:10:32 +00:00
Update PlayerView.tsx
This commit is contained in:
parent
647a4e8279
commit
28527618a9
1 changed files with 3 additions and 0 deletions
|
|
@ -31,6 +31,8 @@ import { getProgressPercentage, useProgressStore } from "@/stores/progress";
|
|||
import { needsOnboarding } from "@/utils/onboarding";
|
||||
import { parseTimestamp } from "@/utils/timestamp";
|
||||
|
||||
import { BlurEllipsis } from "./layouts/SubPageLayout";
|
||||
|
||||
export function RealPlayerView() {
|
||||
const navigate = useNavigate();
|
||||
const params = useParams<{
|
||||
|
|
@ -205,6 +207,7 @@ export function RealPlayerView() {
|
|||
|
||||
return (
|
||||
<PlayerPart backUrl={backUrl} onMetaChange={metaChange}>
|
||||
{status !== playerStatus.PLAYING ? <BlurEllipsis /> : null}
|
||||
{status === playerStatus.IDLE ? (
|
||||
<MetaPart onGetMeta={handleMetaReceived} />
|
||||
) : null}
|
||||
|
|
|
|||
Loading…
Reference in a new issue