title: How to play .m3u8 and manage buffering?
body: <p>I'm setting up a web page that can play from m3u8 playlist (HLS). I want to handle requests and read chunk by chunk from the server and append it to the buffer. Also clear the buffer when some chunks of the video are played. It's something similar to this example with MSE <a href="https://github.com/bitmovin/mse-demo/blob/master/index.html" rel="nofollow noreferrer">https://github.com/bitmovin/mse-demo/blob/master/index.html</a>. Is there any possibility to do it with hls.js</p>