- Add autoplay attribute to video player
- Implement dynamic calculation of needed regular videos based on window height
- Update video comments with Japanese content and remove default avatars
- 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
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.
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.