isHlsSupported

Type:Function
Status:stable
Since:1.0.0
Platform:js
@blackbyte.sugar.js.is

Check if the HLS format is supported by the browser

Return

  1. -Boolean

    true if supported, false if not

Example

import { isHlsSupported } from '@blackbyte/sugar/id'
if (!isHlsSupported()) {
  // do something
}

Todo

  • testsnormal