'use client'; import { Button } from '@/components/ui/Button'; import { Icons } from '@/components/ui/Icon'; interface VideoPlayerErrorProps { error: string; onBack: () => void; onRetry: () => void; retryCount: number; maxRetries: number; } export function VideoPlayerError({ error, onBack, onRetry, retryCount, maxRetries, }: VideoPlayerErrorProps) { return (
{/* Glass Card Container */}
{/* Glowing Error Icon */}
{/* Glow effect */}

播放失败

{error}

{/* Action Buttons */}
{retryCount < maxRetries && ( )}
); }