Commit Graph

5 Commits

Author SHA1 Message Date
63d428cd33 feat(video): add autoplay and dynamic video loading
- 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
2026-02-13 11:02:33 +08:00
bfe395d5bb refactor(video): replace avatar images with font awesome icons
The change replaces the avatar image tags with Font Awesome user icons to improve consistency and reduce external image dependencies.
2026-02-13 10:47:07 +08:00
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