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.
4.5 KiB
4.5 KiB