I have the problem with video rewind on my site.
I figure out that problem with http headers.
My current controller method which returns video:
If you want to avoid MimeTypeUtils, you can use Files.probeContentType(Path path). That will use the default implementation of the system.
MimeTypeUtils
Files.probeContentType(Path path)