Allows controlling the player's storage behavior.

interface StorageConfig {
    disableStorageApi?: boolean;


disableStorageApi?: boolean

Controls whether the browser may access the Web Storage API which consists of

  • window.localStorage
  • window.sessionStorage

If the device would not support the localStorage, the player would then fallback to use document.cookie.

If set to true, the player will not store anything in either one. If set to false (default case), the player will store information about DRM licenses, bandwidth measurements and VAST ad information.