Add webinar recording page with embedded video player
Changes: - Create WebinarRecording page with embedded video player - Supports YouTube, Vimeo, Google Drive, and direct MP4 - Check access via user_access or paid orders - Update webinar recording buttons to navigate to page instead of new tab - Add route /webinar/:slug This keeps users on the platform for better UX instead of redirecting to external video sites. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -157,7 +157,10 @@ export default function MemberDashboard() {
|
||||
case "consulting":
|
||||
return { label: "Jadwalkan", icon: Calendar, href: item.product.meeting_link };
|
||||
case "webinar":
|
||||
return { label: "Tonton", icon: Video, href: item.product.recording_url || item.product.meeting_link };
|
||||
if (item.product.recording_url) {
|
||||
return { label: "Tonton", icon: Video, route: `/webinar/${item.product.slug}` };
|
||||
}
|
||||
return { label: "Gabung", icon: Video, href: item.product.meeting_link };
|
||||
case "bootcamp":
|
||||
return { label: "Lanjutkan", icon: BookOpen, route: `/bootcamp/${item.product.slug}` };
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user