Update index.js to include video file extensions