Read/parse (java) your media files into a database (mysql or sqlite3) and then use the website (php) toview its contents.