How daniaru6340/web-based-video-player works
Project type and purpose
• This is a lightweight full-stack web application (Node.js + Express + EJS) whose sole feature is to render a web-based video player with external subtitle support.
• The README tells us it asks the user for two URLs (video file and subtitle file), then serves an HTML5 video page with the given sources.
File structure
• index.js – the entrypoint, likely an Express server that defines routes and renders EJS views
• package.json / package-lock.json – lists dependencies (e.g., "express", "ejs")
• pages/ – contains EJS templates:
– index.ejs (form to submit URLs)
– play.ejs (video player page)
– error.ejs (error display)
• node_modules/ – installed libraries
README for additional insights
• Runs on port 9000 by default
• No database or persistent storage—purely request/response + client-side playback
• Uses plain Node.js (Express) + EJS for server-side HTML rendering