Written by: Marlon Colca
Posted on 05 Sep 2025 - a month ago
nextjs typescript clones
Welcome! In this hands‑on course you’ll build a polished Netflix‑style application using Next.js (App Router), Tailwind, and the native HTML5 <video> element. We’ll focus on practical implementation while keeping the architecture simple and scalable.
Welcome! In this hands‑on course you’ll build a polished Netflix‑style application using Next.js (App Router), Tailwind, and the native HTML5 <video>
element. We’ll focus on practical implementation while keeping the architecture simple and scalable.
<source>
, <track>
, preload, playsInline.localStorage
.public/videos/
) or external URLs, optional .srt
/.vtt
.src/app/
.public/
(videos/
, posters/
, subs/
).<video>
, WebVTT) to keep the stack simple and portable.src/app/layout.tsx
, src/app/page.tsx
, src/app/watch/[id]/page.tsx
for the player route.src/components/
contains Hero
, Row
, MovieCard
, VideoPlayer
, ContinueWatching
.src/hooks/
has focused hooks like useResume
, useAutoFullscreen
, useSubtitles
.src/data/movies.json
with types and helpers in src/lib/catalog.ts
.src/lib/subtitles.ts
.<video>
experience with autoplay, keyboard shortcuts, and fullscreen..srt
to .vtt
in the browser and wire subtitles correctly.public/
for small demo media; switch to a CDN as soon as files are large.Create a Next.js App Router project and enable Tailwind with a dark, media‑friendly baseline.
06 Sep 2025 - a month ago