And if you’re looking for a starting point, other Erlang web servers implement this feature, so you should be able to copy and paste most of an implementation. I know mochiweb has it for sure, but yaws or inets may also implement range requests. <br><div class="gmail_quote"><div dir="ltr">On Tue, Jul 17, 2018 at 23:50 Pierre Fenoll <<a href="mailto:pierrefenoll@gmail.com">pierrefenoll@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I believe you can create a bounty / pay Loïc to implement this & share it with the whole world.<div>I'd gladly follow suit.<br clear="all"><div><div dir="ltr" class="m_-3246441236967752913gmail_signature"><div dir="ltr"><div><div><br></div><div>Cheers,</div></div></div></div></div></div></div><div dir="ltr"><div><div><div dir="ltr" class="m_-3246441236967752913gmail_signature"><div dir="ltr"><div><div>-- </div><div>Pierre Fenoll</div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, 18 Jul 2018 at 08:36, by <<a href="mailto:by@meetlost.com" target="_blank">by@meetlost.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Well, I see.<br>
Is there any existing resolution about this? Maybe third party handler?<br>
I believe the requirements for serving video liked content is very common.<br>
<br>
> 在 2018年7月18日,14:08,Loïc Hoguin <<a href="mailto:essen@ninenines.eu" target="_blank">essen@ninenines.eu</a>> 写道:<br>
> <br>
> If I recall that's because the static files handler does not support range requests yet.<br>
> <br>
> On 07/18/2018 05:21 AM, by wrote:<br>
>> Hi,<br>
>> I am trying to serve a static website via Cowboy, and I followed the guide, it seems works fine.<br>
>> The problem is that the static website has a mp4 file, and I play the video on web page.<br>
>> It can play, but when I try to click the progress bar to do fast forward, it keeps play on the normal way(not work).<br>
>> Do I need add some other configurations for this?<br>
>> Same static files works fine with nginx.<br>
>> Thanks,<br>
>> Yao Bao<br>
>> _______________________________________________<br>
>> erlang-questions mailing list<br>
>> <a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
>> <a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
> <br>
> -- <br>
> Loïc Hoguin<br>
> <a href="https://ninenines.eu" rel="noreferrer" target="_blank">https://ninenines.eu</a><br>
<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div>