Written by: Marlon Colca
Posted on 15 Sep 2025 - 19 days ago
nextjs typescript clones
Handle videos, posters and subtitles responsibly in an open‑source project
Goal: Handle videos, posters and subtitles responsibly in an open‑source project.
public/; host big media on a CDN/bucket..vtt; support .srt with client conversion when needed.next/image, configure external hosts via next.config.ts images.remotePatterns and provide width/height for layout stability.public/videos/ — local samples onlypublic/posters/ — imagespublic/subs/ — .vtt or .srtCREDITS.md — list all asset sources and licensesLICENSES/ — individual license files per asset if needed# Assets credits
## Videos
- Tears of Steel (CC BY 3.0) — Blender Foundation — https://tearsofsteel.org — Source: https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/TearsOfSteel.mp4
- Big Buck Bunny (CC BY 3.0) — Blender Foundation — https://www.bigbuckbunny.org/
## Posters
- tears-of-steel.jpg — created from the official poster, resized for demo.
## Subtitles
- TOS-en.srt — Blender — https://download.blender.org/demo/movies/ToS/subtitles/TOS-en.srt
LICENSES/<asset>.md.next/image, add the host pattern.public/videos/ and confirm it plays locally and via a remote URL counterpart.