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:
dwindown
2025-12-25 23:05:32 +07:00
parent e347a780f8
commit 2dd9d544ee
5 changed files with 202 additions and 11 deletions

View File

@@ -12,6 +12,7 @@ import Products from "./pages/Products";
import ProductDetail from "./pages/ProductDetail";
import Checkout from "./pages/Checkout";
import Bootcamp from "./pages/Bootcamp";
import WebinarRecording from "./pages/WebinarRecording";
import Events from "./pages/Events";
import ConsultingBooking from "./pages/ConsultingBooking";
import Calendar from "./pages/Calendar";
@@ -56,6 +57,7 @@ const App = () => (
<Route path="/checkout" element={<Checkout />} />
<Route path="/events" element={<Events />} />
<Route path="/bootcamp/:slug" element={<Bootcamp />} />
<Route path="/webinar/:slug" element={<WebinarRecording />} />
<Route path="/consulting" element={<ConsultingBooking />} />
<Route path="/calendar" element={<Calendar />} />
<Route path="/privacy" element={<Privacy />} />