hls: using Browser instead of check user agent inside the class