added hls support