I have <video src="someServlet"> where I write in servletOutputStream bytes from some video file, but it does not work.
When I write <video src="/somedirectory/somefile.ogg">, it works fine.
Can anyone help?
I have <video src=someServlet> where I write in servletOutputStream bytes from some video file,
Share
Check the servlet is setting the MIME type correctly. For .ogg use video/ogg.
Use “
$ wget -S <url>” to compare the http headers from the two urls: someServlet, /somedirectory/somefile.ogg. This may help you isolate the difference in the two responses.