Commit Graph

3 Commits

Author SHA1 Message Date
86651b50ef feat(video-page): add related videos section with shorts and regular videos
- Add new related videos section with styling for shorts and regular videos
- Implement logic to load and display related videos based on current video category
- Restructure video page layout to accommodate new related videos section
- Add shuffle functionality for video recommendations
2026-02-13 10:44:28 +08:00
d1df0b339c refactor: move video data to external JSON file and implement data loading
Restructure video data storage by moving hardcoded arrays to an external JSON file.
Implement async data loading functions in both script.js and video.js to fetch data from the new JSON file.
This improves maintainability and makes it easier to update video content without modifying source code.
2026-02-11 23:00:16 +08:00
f6a861977c feat(video-page): add video player page with details and comments
Add new video player page with responsive layout, video details display, and comments section. Includes video player, channel info, like/dislike buttons, and interactive elements. Also add null checks in main script to prevent errors when elements are missing.
2026-02-11 21:46:48 +08:00