feat: add HLS proxy, view tracking, and player improvements

- Add HLS proxy middleware for CORS bypass
- Add view tracking API endpoint
- Improve HLS player with proxy fallback mechanism
- Add custom episode support in admin
- Update admin movie list with view count
- Add description expand/collapse on movie detail
- Fix hydration warnings in watch page
This commit is contained in:
ngthanhvu
2026-07-22 11:43:14 -04:00
parent d982449464
commit 221c132e60
15 changed files with 765 additions and 69 deletions
+1
View File
@@ -76,6 +76,7 @@ function mapMovieToResponse(movie: any) {
lang: movie.lang || undefined,
type: movie.type || undefined,
rating: movie.rating || undefined,
views: movie.views || 0,
categories: movie.categories || [],
countries: movie.countries || [],
sources: movie.sources || [],