/** * CourseLearningView — player stage (video / quiz / article). */ import { Button } from '@/components/ui/button'; import { PlayCircle, HelpCircle } from 'lucide-react'; interface Lesson { id: string; title: string; duration: string; type: 'video' | 'article' | 'quiz'; content?: string; quizId?: string; } interface CourseLearningViewPlayerProps { lesson: Lesson | null; onStartQuiz: (quizId: string) => void; } export function CourseLearningViewPlayer({ lesson, onStartQuiz, }: CourseLearningViewPlayerProps) { if (!lesson) { return (
Select a lesson
Video Player Placeholder
{lesson.title}
{lesson.content ?? 'This is a text-based lesson. Content would be rendered here in Markdown.'}