Fork me on GitHub
#shadow-cljs
<
2018-10-21
>
royalaid22:10:38

@thheller I have been playing around with html5 audio and video and noticed something odd in my app. When I try to seek in chrome it just resets my elements but when I seek in chrome it works as intended

royalaid22:10:24

Apparently this seems to be caused by a lack of the backing http server providing Http 206 Responses

royalaid22:10:45

Would it be hard to support this with Shadows built-in server?

thheller22:10:43

hmm the server just uses the default ring-file middleware to serve files

thheller22:10:59

so if there is one that supports 206 that should be easy to add

royalaid22:10:01

I think it is more to do with undertow

royalaid22:10:14

not sure though

thheller22:10:14

undertow supports it

royalaid22:10:37

yeah I just have no idea how to make the correct configuration 😄

royalaid22:10:43

little out of my depth

thheller22:10:58

like I said .. its the ring middleware. nothing to do with undertow

royalaid22:10:25

makes more sense

thheller22:10:52

could probably use the default undertow handler for serving files

thheller22:10:58

which likely supports this out of the box

thheller22:10:22

ring is a bit limited in some areas

thheller22:10:08

hmm no that doesn't look compatible

thheller22:10:20

:body (subs body start (inc end))

thheller22:10:37

body will be a java.io.File instance IIRC

thheller22:10:40

so that will fail

thheller22:10:37

open an issue please. I'm off to bed. gn8