Is there a way of detecting the end of an HLS stream with javascript Is there a way of detecting the end of an HLS stream with javascript google-chrome google-chrome