modified convertStreamToByteArray method in UploadServlet.java and use HTML5 video tag in index.jsp