Recently, i am looking into an issue that the video playback does not work properly on chrome. I am able to play the video on chrome and the time seeking function does not work as expected. After doing some research from the web, i realized that this problem is related to byte serving function provided by the application server. I am currently running on WildFly 10.1.0.Final and it does not work for me. Based on the discussions on @JBossDeveloper, this should have resolved in WildFly 10.1.0 and CURL should return HTTP 206 but i am still getting HTTP 200. Did i missed any configuration on WildFly 10.1.0.Final to make this works?
Below is the results from CURL on a ~4MB video:
curl -H Range:bytes=0-100 -I http://127.0.0.1:8080/sample/downloadContent?contentId=8a84a1f4656a007501656aedd96911f4
HTTP/1.1 200 OK
Connection: keep-alive
X-Powered-By: Undertow/1
Server: WildFly/10
Content-Type: video/mp4
Content-Length: 3414439
Date: Fri, 21 Sep 2018 09:23:15 GMT